LoRaWAN Smart Building MOTION - Guide utilisateur / User guide version V1.0.0
4.2. Downlink frames
LoRaWAN technology makes it possible to transmit information to the device from the network (downlink frame).
The class A of the LoRaWAN specification allows the device to receive information from the network by proposing two listening windows after
each uplink communication (uplink frame).
4.2.1 Device configuration request frame
FR
This frame allows you to inform the device through the network that it must resend the device configuration uplink frame (0x10).
0
Code
0x01
EN
4.2.2 Network configuration request frame
This frame allows you to inform the device through the network that it must resend the network configuration uplink frame (0x20).
0
Code
0x02
4.2.3 Specific register value request frame
This frame (0x40) allows you to inform the device through the network that it must send the values of specific registers in an uplink frame
(0x31).
Frame 0x40:
0
Code
0x40
CONF ID 1
Description of the frame:
• Bytes 1 to N: CONFIDX (8bits): index of the register to be sent. The corresponding register is 300 + CONFIDX value.
For example, if CONFID1 = 0x14 (i.e. 20 in decimal), the device will send back the value of register number S320.
The associated uplink frame has the code 0x31 (see paragraph 4.1.5 for details).
IMPORTANT: the user can specify several CONF IDs in the downlink frame but it is up to the user's responsibility to verify that according to the
protocol, the size of the data available in a downlink will be large enough to contain all the desired data. Otherwise, the application will send
only the first values.
1
2
X
X
1
2
X
X
1
2
CONF ID 2
3
4
PAYLOAD
X
X
3
4
PAYLOAD
X
X
3
4
PAYLOAD
CONF ID 3
X
5
6
X
X
5
6
X
X
5
...
X
X
CONF ID n
7
X
7
X
n
Page
76
of 86