Specific Register Value Request Frame; Frame For Updating The Value Of Specific Registers - ADEUNIS LoRaWAN DRY CONTACTS Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN DRY CONTACTS - Guide utilisateur / User guide version V2.0.0
Description of the frame:
Byte 1: States to be applied to the TORs
• Bit 0: State to be applied to TOR1
• Bit 1: State to be applied to TOR2
• Bit 2: State to be applied to TOR3
• Bit 3: State to be applied to TOR4
Bits 4 to 7: reserved
FR
If the channel is configured as an output, the corresponding bit in the downlink frame 0x03 is taken into account, otherwise it is simply
ignored.
In the example in grey this gives:
Description of the frame:
EN
Byte 1=0x05 i.e. 0101 in binary which gives:
• Bit 0=1 => TOR1 state set to 1 if TOR1 is configured as an output otherwise no change
• Bit 1=0 => TOR2 state set to 0 if TOR2 is configured as an output otherwise no change
• Bit 2=1 => TOR3 state set to 1 if TOR3 is configured as an output otherwise no change
• Bit 3=0 => TOR4 state set to 0 if TOR4 is configured as an output otherwise no change
Bits 4 to 7: reserved

4.2.4 Specific register value request frame

This frame (0x40) allows to inform the product via the network that it must send the values of specific registers in a uplink frame (0x31).
0
Code
0x40
CONFID1
Description of the frame:
Bytes 1 to N : CONFIDX (8bits): indice of the register to be sent. The corresponding register is 300 + CONFIDX value. For example, if
CONFID1 = 20, the product will send back the value of register number 320.
The associated uplink frame has the code 0x31 (see paragraphe 4.1.5).
0
Code
0x31
In this example: CONFID1 is a 2-byte register, CONFID2 a 1-byte register and CONFID3 a 2-byte register.
If an error is detected in the request, the returned 0x31 frame will be empty.
IMPORTANT : The user can specify several CONFIDs in his downlink frame but it is his responsibility to verify that according to the protocol the
size of the data available in a downlink frame will be large enough to contain all the desired data. Otherwise, the application will only send the
first values.

4.2.5 Frame for updating the value of specific registers

This frame (0x41) allows to change the value of requested registers.
0
Code
0x41
1
2
CONFID2
1
2
Status
VALUE1
1
2
CONFID1
CONFID1 value
3
4
PAYLOAD
CONFID3
X
3
4
PAYLOAD
VALUE1
VALUE2
3
4
PAYLOAD
CONFID2 value
CONFID2
(MSB)
5
...
X
X
5
...
VALUE3
VALUE3
5
...
CONFID2 value
...
(LSB)
n
CONFIDn
11
X
n
CONFIDn value
76 of 89

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8170ba

Table des Matières