Compare commits

...

4 Commits

Author SHA1 Message Date
Mark Qvist
5e15f421b7 Updated manual 2023-10-02 18:01:28 +02:00
Mark Qvist
0a9366ba6e Updated Android log level on bluetooth failure 2023-10-02 17:39:19 +02:00
Mark Qvist
cf31435f39 Updated docs 2023-10-02 17:36:52 +02:00
Mark Qvist
9f58860842 Added missing super init on Android interfaces 2023-10-02 17:36:33 +02:00
6 changed files with 6 additions and 9 deletions

View File

@ -82,8 +82,7 @@ class KISSInterface(Interface):
else:
raise SystemError("Android-specific interface was used on non-Android OS")
self.rxb = 0
self.txb = 0
super().__init__()
self.HW_MTU = 564

View File

@ -166,8 +166,8 @@ class AndroidBluetoothManager():
raise IOError("The Bluetooth RFcomm socket could not be connected: "+str(e))
except Exception as e:
RNS.log("Could not create and connect Bluetooth RFcomm socket for "+str(device.getName())+" "+str(device.getAddress()), RNS.LOG_ERROR)
RNS.log("The contained exception was: "+str(e), RNS.LOG_ERROR)
RNS.log("Could not create and connect Bluetooth RFcomm socket for "+str(device.getName())+" "+str(device.getAddress()), RNS.LOG_DEBUG)
RNS.log("The contained exception was: "+str(e), RNS.LOG_DEBUG)
def close(self):
if self.connected:
@ -349,8 +349,7 @@ class RNodeInterface(Interface):
else:
raise SystemError("Android-specific interface was used on non-Android OS")
self.rxb = 0
self.txb = 0
super().__init__()
self.HW_MTU = 508

View File

@ -72,8 +72,7 @@ class SerialInterface(Interface):
else:
raise SystemError("Android-specific interface was used on non-Android OS")
self.rxb = 0
self.txb = 0
super().__init__()
self.HW_MTU = 564

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long