Ab
Bluetooth Low Energy spec Packet
Added on v2.6.0
TCP
HTTP
Defines the Bluetooth Low Energy specification packet for the Layrz Protocol. This packet is sent by the server to the device to inform it about the BLE device that should be sniffed, allowing the device to start scanning for BLE advertisements and connect to the specified device.
Example Usage
<Ab>BLE+DEFINITION;CRC16</Ab>
Parameter | Type | Description | Example |
---|---|---|---|
BLE+DEFINITION | BLE+DEFINITION | BLE spec | N/A |
CRC16 | integer | Cyclic Redundancy Check for error checking. | 1234 |
Bluetooth Low Energy data BLE+DEFINITION
MAC_ADDRESS1:MODEL1,MAC_ADDRESS2:MODEL2,...
Parameter | Type | Description |
---|---|---|
MAC_ADDRESS1,MAC_ADDRESS2 | string | Mac address of the BLE device to sniff, without colons. |
MODEL1,MODEL2 | string | Model of the BLE device to sniff, this model is the same as the Pb packet will send to the server. |
Example
000000000000:GENERIC,1234567890AB:LAYRZ_HUB_ONE