
Smart-SS0102 / User Manual
29
Revision
5 COMMUNICATION PROTOCOL
This part describes the Smart-SS0102 data exchange protocol with LoRaWAN network.
In fields consisting of several bytes, the little endian byte order is used
SMART-SS0102 TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current state, sent by event on LoRaWAN port 2.
Size in bytes
Field description
Data type
1 byte
Packet type == event ID:
5 – Alarm because of fire detection
6 - Test
7 – Alarm because of line of solidarity work
8 – Removal from mounting platform
9 – Alarm reset
10 – Low battery charge
11 – Start of the device guard
12 – Stop of the device guard
13 –
Reserve
14 – Sensor malfunction
15 - Dustiness of the sensor chamber
16 – By the schedule
uint8
4 bytes
This packet time (unixtime UTC)
uint32
1 byte
Current state (bit field):
0 бит – Dustiness
1 бит – Fire
2 бит – Test
3 бит – Standby
4 бит – Malfunction
5 бит – Alarm
6 бит – Removal from mounting platform
7 бит – Signal through the line of solidarity work
uint8
2 bytes
Receiver voltage in mV
uint16
2 bytes
Transmitter current in mA
uint16
2 bytes
Thermistor temperature in ⁰С
uint16
1 byte
Flag – battery 1 is used
bool
1 byte
Flag – battery 2 is used
bool
1 byte
Flag – battery 1 is available
bool
1 byte
Flag – battery 2 is available
bool
1 byte
Battery 1 charge in %
uint8
1 byte
Battery 2 charge in %
uint8