mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Improved cleanup on device disconnect
This commit is contained in:
parent
63a59753af
commit
f9b3c749e0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user