Adeunis RF MOTION V2 Technisches Referenzhandbuch - Seite 13
Blättern Sie online oder laden Sie pdf Technisches Referenzhandbuch für Zubehör Adeunis RF MOTION V2 herunter. Adeunis RF MOTION V2 15 Seiten. 868 eu - lorawan/sigfox
2.2.9 Response to Get register request (0x31)
Following reception of a downlink frame with the code 0x40, the frame 0x31 is transmitted. It contains all the values of
the registers requested in the downlink frame 0x40.
Offset
Data
(in byte)
0
0x31
1
Status
2-3
Value 1
4
Value 2
5-8
Value 3
...
If an error is detected in the request, the returned 0x31 frame will be empty.
Note: the size of the data registers is variable depending on the register number. Refer to the list of registers to
determine the size of each one and to deduce the total size of the data returned by the 0x31 frame.
Decoding example:
Offset
Data
(in byte)
0
0x31
1
0x80
2-3
0x1234
4
0xFF
5-8
0x00000000
...
2.2.10 Response to Set register request (0x33)
Following reception of a downlink frame with the code 0x41, the frame 0x33 is transmitted. It shows whether the
downlink frame (0x41) has been received and gives information on the support status of the latter.
Offset
Data
(in byte)
0
0x33
1
Status
Request status
2
Register Id
3-4
CAUTION: if the request 0x41 concerns several registers, the device will stop the analysis of the Downlink request at
the first error and will send the Status frame with the reason and the identifier of the register concerned.
In the event of an error, if a partial reconfiguration has taken place before the error was detected, the device restarts
and returns to its last valid configuration. As a result, you will have to configure the device again with the new data.
Description
Frame code
Status byte
If value 1 is a 2-byte register
If value 2 is a 1-byte register
If value 3 is a 4-byte register
Description
Frame code
Frame counter: 4
Bit1@0: LowBat not detected
4660 (considering that value 1 is a 2-byte register)
255 (considering that value 2 is a 1-byte register)
0 (considering that value 3 is a 4-byte register)
Description
Frame code
-
0x00: N/A
-
0x01: success
-
0x02: success – no update (value to set is the current register value)
-
0x03: error – coherency
-
0x04: error – invalid register
-
0x05: error – invalid value
-
0x06: error – truncated value
-
0x07: error – access not allowed
-
0x08: error – other reason
Indicates to the user the register that caused the error (only if "Request Status" is
different from 0x01).
Manage & optimize your assets & services
283, rue louis Néel 38920 CROLLES, France
Tél : +33 (0)4 76 92 07 77 E-mail : [email protected]
www.adeunis.com
Date: 02/12/2019
adeunis
®
Page 13 / 15