LoRa Node
40
3.2 Commands
0x01 – Report all Inputs:
0x01
Total length Data[i] length
Data[i] value[] …
Checksum
1 byte
1 byte
1 byte
n byte
1 byte
Command: 0x01
Purpose: A LoRa node is Uploading the status (data) of all input ports to network server.
Sequence: DI[1] / DI[2] / AI[1] / AI[2] / AI[3] / Modbus[1] / Modbus[2] / Modbus[3]
Note 1: There is maximum limit on the payload size. This command may not be used for some Modbus device
configuration that has many registers to read.
For example, the packet
“
0116010000010100000102000002000002000000000015” is composed of
Command byte – 0x01
Total Length – 0x16
Data[] – “0100000101000001020000020000020000000000”
Checksum - 0x15