Bluetooth Low-Energy (BLE) Commands

ble-advert-start

Advertise Aurora over BLE (must be disconnected).

Usage:

ble-advert-start

ble-advert-stop

Stop advertising Aurora over BLE.

Usage:

ble-advert-stop

ble-disconnect

Disconnect the Aurora from an existing BLE connection.

Usage:

ble-disconnect

ble-flash

Flash new firmware onto the Aurora's BLE module.

Usage:

ble-flash [filename] [directory] [preserve_fw_file]
Parameter Description
[filename] The name of the firmware file to flash onto the BLE.
[directory] The optional directory the file is located in (if not in root).
[preserve_fw_file] If specified and truthy, the firmware file is not deleted automatically after a successful flash.

ble-info

Display Aurora BLE module and connection information.

Usage:

ble-info [verbose]
Parameter Description
[verbose] If provided and truthy displays additional information.


Example Output:

# ble-info 1
---------------------------------------------------------------------------------------------------
BLE Version              : 20100
BGLib Version            : 10500
BGLib Build              : 137
BGLib Linklayer Version  : 3
BGLib Protocol Version   : 1
BGLib Hardware Version   : 6
BLE Connected            : YES
Connection Interval      : 11
Device Address           : E1:28:F0:74:A0:24
Address Type             : Public
Connection RSSI          : -47
Connection Slave Latency : 0
Connection Timeout       : 2000
Event Indications        : OFF
Event Notifications      : OFF
Cmd Output Indications   : OFF
Cmd Output Notifications : OFF
Stream Indications       : OFF
Stream Notifications     : OFF
---------------------------------------------------------------------------------------------------

ble-reset

Resets the Aurora's bluetooth module.

Usage:

ble-reset [hard_reset]
Parameter Description
[hard_reset] If truthy performs a hardware reset.

results matching ""

    No results matching ""