From f9b3c749e0b8892e2f9fe9da2be1243ab4c6c65d Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 2 Nov 2022 20:44:09 +0100 Subject: [PATCH] Improved cleanup on device disconnect --- RNS/Utilities/rnodeconf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index ba97323..7c5de2c 100644 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -1994,14 +1994,17 @@ def main(): if args.bluetooth_on: RNS.log("Enabling Bluetooth...") rnode.enable_bluetooth() + rnode.leave() if args.bluetooth_off: RNS.log("Disabling Bluetooth...") rnode.disable_bluetooth() + rnode.leave() if args.bluetooth_pair: RNS.log("Putting device into Bluetooth pairing mode...") rnode.bluetooth_pair() + rnode.leave() if args.info: if rnode.provisioned: