Specific Register Value Request Frame; Frame To Update The Value Of Specific Registers - ADEUNIS TIC 868 Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Transceiver TIC - Guide utilisateur / User guide version V2.0.0

4.2.4 Specific register value request frame

This frame (0x40) makes it possible to inform the product via the network that it must transmit the values of the registers requested.
Frame 0x40:
FR
0
Code
0x40
CONF ID1
Description of the frame:
EN
Bytes 1 to n: CONF IDX (8bits): index of the register to send. The corresponding register is 300 + CONF IDX value.
For example, if CONF ID1 = 0x14 (or 20 in decimal), the transmitter will return the value of the S320 register.
The associated downlink is code 0x31 (see section 4.1.5 for details).
IMPORTANT: the user can specify several CONF IDs in his downlink frame but it is his responsibility to check that according to the protocol, the
size of the data available in a downlink is large enough to contain all the desired data. Otherwise, the application will send only the first values.

4.2.5 Frame to update the value of specific registers

This frame (0x41) allows via the network to modify the values of the requested registers on the product.
Frame 0x41:
0
Code
0x41
CONF ID1
Description of the frame:
Byte 1: CONF ID1 (8bits): index of the register to modify. The corresponding register is 300 + CONF IDX value. For example, if CONF ID1 =
0x14 (or 20 in decimal), the transmitter will return the value of the 320 register.
Byte 2: Value to give to CONF ID1: in this example, its value is contained on 1 byte
Byte 3: CONF ID1 (8bits): index of the register to modify. The corresponding register is 300 + CONF IDX value.
Bytes 4 and 5: Value to give to CONF ID2: in this example, its value is contained on 2 bytes
...
Following the sending of the downlink 0x41, the associated upstream 0x33 will be immediately returned (see section 4.1.6). If the updating of
the register(s) went well, the product will save and start automatically its restart procedure. In addition, the Config bit of the status byte (see
section 4.1.1.2) will be set to 1 in the next scheduled upstream frame (periodic, alarm or life frame).
1
2
CONF ID2
1
2
Value of CONF
ID1
3
4
PAYLOAD
CONF ID3
X
3
4
PAYLOAD
Value of CONF
CONF ID2
ID2
5
...
X
X
5
...
Value of CONF
...
ID2
n
CONF IDn
n
Value of CONF
IDn
Page
86
of 98

Publicité

Table des Matières
loading

Table des Matières