
Ver 1.4
Page 28 | 30
Loris X2 Configuration Guide
7.
Packet Format
The packet format for the beacon stream received by Loris X2 Gateway through MQTT is in following
format:
Packet Body (JSON
{
"id":"< device WAN MAC>",
"v":"< FW Ver. >",
"mid":< Message ID >,
"raw_beacons_data":"{
< Tag1 MAC >< Tag1 RSSI ><Tag1 Payload Length>< Tag1 P Epoch Time>;
< Tag2 MAC >< Tag2 RSSI ><Tag2 Payload Length>< Tag2 P Epoch Time >;"
}
Where
id = Scanner MAC Address
v = Firmware Version of Scanner
mid = Message ID (Currently Constant)
raw_beacons_data = Tag stream. All tags data is being concatenated with each other. Raw data is in hex
string format.
Raw beacon data breakdown
MAC + RSSI + P Epoch Time
Sample packet body
{
"id":"device WAN MAC",
"v":"0.10",
"mid":1,
"raw_beacons_data":"D50C0A569377AD1F0308D3421AFF4C0002154010A1A7B6954197845CBE0B1374DC79000107EDC4;D50C0A569377
AD1F0308D3421AFF4C0002154010A1A7B6954197845CBE0B1374DC79000107EDC4;"}