Skip to content
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>
ParameterTypeDescriptionExample
BLE+DEFINITIONBLE+DEFINITIONBLE spec N/A
CRC16integerCyclic Redundancy Check for error checking.1234

Bluetooth Low Energy data BLE+DEFINITION

MAC_ADDRESS1:MODEL1,MAC_ADDRESS2:MODEL2,...
ParameterTypeDescription
MAC_ADDRESS1,MAC_ADDRESS2stringMac address of the BLE device to sniff, without colons.
MODEL1,MODEL2stringModel 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