mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-11 15:23:31 -07:00
Improved cleanup on device disconnect
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user