Consider the following information and data format that is used to send BLE messages to third-party Asset Tracking applications:
The payload data format of the Bluetooth gateway report is an array of JSON, which contains one or more Bluetooth device information scanned in a reporting cycle.
The reported information includes information about the scanned Bluetooth device and the Bluetooth gateway. Consider the following data format used to report the scanned information.
To get smoothing BLE data, if the RssiFormat is “average” and the number of scans in a reporting cycle is greater than three, the highest and lowest values are removed and the average value is taken.
To include the channel of the BLE channel of collected RSSI:
BLE has only three fixed broadcast channels, and in a broadcast event, a broadcast packet is transmitted on each channel. As a result, it is not possible for the scanning device to specify that the scanning should take place on a specific channel.
In a scanning event, the device will scan three channels in turn, and the scanned response data does not contain the channel.
If it is the scanning channel of the WiFi, that is supported.
The reporting JSON data format is similar to the following: