BA-BLE: Difference between revisions
→Examples of data output
| Line 293: | Line 293: | ||
== '''<big>RS-485</big>''' == | == '''<big>RS-485</big>''' == | ||
RS-485 port parameters | |||
Baud rate: 19200 kbps | Baud rate: 19200 kbps | ||
| Line 304: | Line 304: | ||
=== '''<big>LLS</big>''' === | === '''<big>LLS</big>''' === | ||
Example of data reception in Navtlecom telemetry | |||
[[Файл:Пример данных BA-BLE в телеметрии навтелеком.png]] | [[Файл:Пример данных BA-BLE в телеметрии навтелеком.png]] | ||
# | # Level and temperature TD-BLE | ||
# | # Battery voltage (3.7V) and RSSI -50dBm TD-BLE | ||
# | # Level and temperature TD-150-BLE | ||
# | # Tilt angle degree and event DU-BLE | ||
# | # Battery voltage (3.5V) and RSSI -38dBm DU-BLE | ||
# | # Temperature (26.8 °C) and humidity (18%) TH-BLE | ||
# | # Illumination (132 Lux) and hall sensor activity (no activity) TH-BLE | ||
# | # Battery voltage (3.5V) and RSSI -59dBm TH-BLE | ||
# | # discrete input trip (1 not active, 2 active) TH-BLE | ||
Example of communication log between the tracker and BA-BLE via LLS protocol | |||
[[Файл:Лог общения LLS .png|321x321пкс]] | [[Файл:Лог общения LLS .png|321x321пкс]] | ||
31 01 06 6C - | 31 01 06 6C - request from the tracker to issue data to 1 address | ||
* 31 - | * 31 - request command | ||
* 01 - | * 01 - network address | ||
* 06 - | * 06 - request type (level and temperature) | ||
* 6C - CRC-8/MAXIM | * 6C - CRC-8/MAXIM | ||
3E 01 06 15 01 00 00 00 EB - | 3E 01 06 15 01 00 00 00 EB - response at address 1 | ||
* 3E - | * 3E - Response designation | ||
* 01 - | * 01 - network address | ||
* 06 - | * 06 - request type (level and temperature) | ||
* 15 - | * 15 - temperature in HEX (21°C) | ||
* 01 00 - | * 01 00 - level in HEX in reverse order 00 01 (level 1) | ||
* 00 00 - CNT ( | * 00 00 - CNT (while using BLE base it is always empty) | ||
* EB - CRC-8/MAXIM | * EB - CRC-8/MAXIM | ||
31 02 06 39 - | 31 02 06 39 - request from the tracker to issue data to 2 address | ||
* 31 - | * 31 - request command | ||
* 02 - | * 02 - network address | ||
* 06 - | * 06 - request type (level and temperature) | ||
* 39 - CRC-8/MAXIM | * 39 - CRC-8/MAXIM | ||
3E 02 06 CE 25 00 00 00 FC - | 3E 02 06 CE 25 00 00 00 FC - response at address 2 | ||
* 3E - | * 3E - Response designation | ||
* 02 - | * 02 - network address | ||
* 06 - | * 06 - request type (level and temperature) | ||
* CE - | * CE - temperaute in HEX (-50°C) negative values go in reverse order from the maximum 255, i.e. 206 is 206-256 -50°C | ||
* 25 00 - | * 25 00 - level in HEX in reverse order 00 25 (level 37) | ||
* 00 00 - CNT ( | * 00 00 - CNT (while using BLE base it is always empty) | ||
* FC - CRC-8/MAXIM | * FC - CRC-8/MAXIM | ||