From b68dbaf15e9fca574f6ff3f4f3971e9e19060101 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 8 Nov 2023 15:23:29 +0100 Subject: [PATCH] Updated log levels --- RNS/Interfaces/Android/RNodeInterface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RNS/Interfaces/Android/RNodeInterface.py b/RNS/Interfaces/Android/RNodeInterface.py index fd3cfe8..03b1ba6 100644 --- a/RNS/Interfaces/Android/RNodeInterface.py +++ b/RNS/Interfaces/Android/RNodeInterface.py @@ -115,7 +115,7 @@ class AndroidBluetoothManager(): if self.bt_enabled(): return self.bt_adapter.getDefaultAdapter().getBondedDevices() else: - RNS.log("Could not query paired devices, Bluetooth is disabled", RNS.LOG_DEBUG) + RNS.log("Could not query paired devices, Bluetooth is disabled", RNS.LOG_EXTREME) return [] def get_potential_devices(self): @@ -167,8 +167,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_DEBUG) - RNS.log("The contained exception was: "+str(e), RNS.LOG_DEBUG) + RNS.log("Could not create and connect Bluetooth RFcomm socket for "+str(device.getName())+" "+str(device.getAddress()), RNS.LOG_EXTREME) + RNS.log("The contained exception was: "+str(e), RNS.LOG_EXTREME) def close(self): if self.connected: