Adeunis RF MOTION V2 Manual de referência técnica - Página 15

Procurar online ou descarregar pdf Manual de referência técnica para Acessórios Adeunis RF MOTION V2. Adeunis RF MOTION V2 15 páginas. 868 eu - lorawan/sigfox

Offset
(in byte)
0
1
2
3
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.
In Sigfox mode: backend may request to send 8 bytes in a downlink. All unused bytes should set to 0xFF to ask the
product to stop the downlink frame parsing.
Coding example:

2.3.2 Set registers (0x41)

This frame (0x41) allows you to change the value of requested S3XX registers.
Offset
(in byte)
0
1
2
3
4-5
...
Following the sending of the downlink 0x41, the associated uplink 0x33 is immediately returned. If the update of the
register(s) went well, the device will perform a backup and begin its restart procedure automatically. In addition, the
Config bit of the status byte will be set to 1 in the next scheduled uplink frame (periodic or alarm or keep alive frame) if
everything went well.
Coding example:
Offset
(in byte)
0
1
2-3
4
5
...
Data
Description
0x40
Frame code
CONFID1
Index of the register to be sent. The corresponding register is
CONFID2
300 + CONFIDX value.
CONFID3
Offset
Data
(in byte)
0
0x40
1
0x00
2
0x14
3
0x20
4-7
0xFFFFFFFF
Data
Description
0x41
Frame code
Index of the register to be changed.
CONFID1
The corresponding register is "300 + CONFID1"
Value of
Value to set
CONF ID 1
In this example, its value is contained in 1 byte
Index of the register to be changed.
CONFID2
The corresponding register is "300 + CONFID2"
Value of
Value to set
CONF ID 2
In this example, its value is contained in 2 bytes
Data
Description
0x41
Frame code
0x14
Register to modify is S320
0x00AA
Value to set in S320 is 170 (S320 is a 2-byte register)
0x1E
Register to modify is S330
0x02
Value to set in S330 is 2(S330 is a 1-byte register)
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]
Date: 02/12/2019
Description
Frame code
Get register S300
Get register S320
Get register S332
In SFX : ignored by product
adeunis
®
www.adeunis.com
Page 15 / 15