From a505441b98b346966604b316c67e2e91dd44a66a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 2 Oct 2024 02:05:00 +0200 Subject: [PATCH] Added BLE connection config to docs --- RNS/Utilities/rnsd.py | 17 +++++++++++++++++ docs/source/interfaces.rst | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/RNS/Utilities/rnsd.py b/RNS/Utilities/rnsd.py index cf7f5a0..6a46e1c 100755 --- a/RNS/Utilities/rnsd.py +++ b/RNS/Utilities/rnsd.py @@ -294,6 +294,23 @@ loglevel = 4 # Serial port for the device port = /dev/ttyUSB0 + # It is also possible to use BLE devices + # instead of wired serial ports. The + # target RNode must be paired with the + # host device before connecting. BLE + # devices can be connected by name, + # BLE MAC address or by any available. + + # Connect to specific device by name + # port = ble://RNode 3B87 + + # Or by BLE MAC address + # port = ble://F4:12:73:29:4E:89 + + # Or connect to the first available, + # paired device + # port = ble:// + # Set frequency to 867.2 MHz frequency = 867200000 diff --git a/docs/source/interfaces.rst b/docs/source/interfaces.rst index 8af9ca6..b34ded0 100644 --- a/docs/source/interfaces.rst +++ b/docs/source/interfaces.rst @@ -358,6 +358,23 @@ can be used, and offers full control over LoRa parameters. # Serial port for the device port = /dev/ttyUSB0 + # It is also possible to use BLE devices + # instead of wired serial ports. The + # target RNode must be paired with the + # host device before connecting. BLE + # devices can be connected by name, + # BLE MAC address or by any available. + + # Connect to specific device by name + # port = ble://RNode 3B87 + + # Or by BLE MAC address + # port = ble://F4:12:73:29:4E:89 + + # Or connect to the first available, + # paired device + # port = ble:// + # Set frequency to 867.2 MHz frequency = 867200000