...
For the "Manufacturer Specific Data" type, you will need to configure the "data" field in the hexadecimal format. The second octet for this type is going to be set to FF.
Connections
Info |
---|
Availible starting with v7.12beta9. |
Currenetly, only "central
" role is supported. "Pheriperal device
" role, "pairing
" and "encryptions
" options are not supported yet.
Availible sections are:
Section | Description |
---|---|
async-data | used to view subscribed data. |
characteristics | used to view all supported characteristics of the device. |
connect | used to connect to the device that is in the connactable state. |
disconnect | used to disconnect from the device. |
read | used to read characteristics values. |
write | used to write characteristics values. |
subscribe | used to subscribe to a charasteristic value. |
unsubscribe | used to unsubscribe from a charasteristic value. |
In order to connect to a Bluetooth device that is in the connactable
state, use the command (where pdev
is the device address):
Code Block | ||
---|---|---|
| ||
/iot bluetooth connections connect pdev=DC:2C:6E:0F:C0:3D |
Info |
---|
To connect to TG-BT5-IN/OUT tags, make sure to put it into the |
To view an already established connection:
Code Block | ||
---|---|---|
| ||
/iot bluetooth connections print |
To view device characteristics:
Code Block | ||
---|---|---|
| ||
/iot bluetooth connections characteristics print
Columns: PDEV, NAME, UUID
# PDEV NAME UUID
0 DC:2C:6E:0F:C0:3D Service Changed 2a05
1 DC:2C:6E:0F:C0:3D Database Hash 2b2a
2 DC:2C:6E:0F:C0:3D Client Supported Features 2b29
3 DC:2C:6E:0F:C0:3D Device Name 2a00
4 DC:2C:6E:0F:C0:3D Appearance 2a01
...
...
... |
To read a specific characteristic, specify the pdev
address and the uuid
:
Code Block | ||
---|---|---|
| ||
/iot bluetooth connections read pdev=DC:2C:6E:0F:C0:3D uuid=2a00 |
Scanners
In this menu, you can set up the scanner settings for the Bluetooth chip. When disabled, the device is no longer able to receive advertising reports. When enabled, you can monitor advertising reports in the "Advertising reports" tab (which will be explained later in the guide). You can check and set scanner settings with the commands:
...