![background image](http://html1.mh-extra.com/html/b-meters/rfm-lr1/rfm-lr1_quick-start-manual_3069674006.webp)
RFM-LR1
6
User Manual v1.1
Protocol
The protocol consists of different types of data
-
LoRaWAN v.1.0.2 standard commands
-
Unsolicited uplink status commands during configure state
-
Periodic measurement reports
-
Downlink commands and queries
-
Uplink query response
Note 0x denotion means hexadecimal encoded.
Unsolicited uplink status commands
The sensor polls the server for configuration parameters the during the
Configure
state. This is done by sending
unsolicited uplink status report (0x20). This is gives quick feedback to the installer that the installation has
been successful and enables downlink configuration commands to be sent. After approximately 2 minutes the
device changes to
Operational
state.
Port:
Port 1
Payload 0x01 20 00
0x01: Data type
0x20: Status command
0x00: bit0 =0 => Normal startup
bit1 =0 => No boot problem
bit2-7 reserved
The expected behavior is 0x01 20 00.
Downlink commands and queries
This describes the payload data that is sent to and from the application server. All downlink application
communication is done on LoRaWAN
port 1
.
Uplink command device => network
Field
Bytes
Value
Description
Note
Type
1
xx
0x01: Data
0x02: Command NACK
Index
1
xx
Command Index
Data
As defined for Command Index (only for Type: Data)
Downlink command network => device
Field
Bytes
Value
Description
Note
Type
1
xx
0x01: Set
0x02: Query
0x03: Action
Index
1
xx
Command Index
Data
As defined for Command Index only applicable for set-commands