Research Article

Research and Design of Distributed Fire Alarm System of Indoor Internet of Things Based on LoRa

Table 2

Protocol frame format table.

Frame contentOccupied bytesParameter rangeRemark

Frame header1Corresponding character “@”
Target node ID20x0000 − 0xffff0xffff is a broadcast signal, all nodes respond
Configuration mode frame10: flash0 × 00: Set the wake-up time of nodes and store the parameters in flash
1: read0 × 01: Immediately request the node to send current sensor data
Configuration data frame20-65535Analyze different data according to different configuration mode frames
Reserved byte10Reserved for future use
Frame tail1Corresponding character “$”