ROSSMA IIOT-AMS TILT COUNTER/
OPERATION MANUAL
1
st
revision 13.01.2020 .
9
4.
COMMUNICATIONS PROTOCOL
DATA PACKAGE FORMAT
Data package format for ROSSMA IIOT-AMS TILT COUNTER :
cc000000000000000000000000000000000000000000000000000000000000000000000000000000
000de110
where:
cc
- package type (0xCC = status)
0000
- Number of tilts after data transmission. Sensor 1.
0000
- Number of state changes after data transmission without processing. Sensor 1.
0000000000000000
- Number of tilts. Sensor 1.
0000000000000000
- Number of status changes without processing. Sensor 1.
0000
- Number of tilts after data transmission. Sensor 2.
0000
- Number of state changes after data transmission without processing. Sensor 2.
0000000000000000
- Number of tilts. Sensor 2.
0000000000000000
- Number of status changes without processing. Sensor 2.
0de1
- supply voltage
10
- temperature
SWITCHING DEVICE CONTROLLING AND PROGRAMMING
Port 1 (Controlling the device):
0x02 - The mode of confirmed messages (LoraWAN Confirmed messages on/off)
0x03 - Full frequency range for ABP (device restart required)
0xBB – Version request
Response: bb040400010001
Where:
bb – package type
0404 - Type of device (04 - pulse, 04 - tilt sensor)
0001 – SW verson (v0.1)
0100 – Card version (v1.0)
0xCE - Restart
0xF0 - Communication testing
Response: 2101f0ffa317
Where:
21 – package type (0x21 - response)
01 - Port on which the request was made
F0 - command
ffa3 - rssi (-92)
17 - snr (2.3)
Port 3 (Management of the current data):
0x01 - Change the polling interval for current data before restarting
request, option 1:
01003C
01 - Command
003C – time in seconds (60 s)