Response Frame To A Register Value Request; Response Frame Following An Update Of Register(S) - 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.1.5 Response frame to a register value request

This frame (0x31) is sent following the reception of a downlink with code 0x40 (see section 4.2.4). It contains the values of the registers re-
quested in the 0x40 downlink.
Frame sent (0x40) to the product (downlink):
FR
0
1
Code
0x40
CONF ID1
CONF IDX fields (8bits) represent the index of the registers to be sent. The corresponding register is 300 + CONF IDX value.
Note: the size of the data of the registers defined by the fields «CONFIG1», «CONFIG2», «CONFIG3», «etc», is variable according to the reg-
EN
ister number. You must refer to the list of registers (see section 3.4.1) to determine the size of each of them and to deduce the total size of the
data returned by the frame 0x31.
Frame sent back by the product:
0
1
Code
Status
0x31
Cf Status
In this example: CONF ID1 is a 2-byte register, CONF ID2 is 1 byte, and CONF ID3 is 2 bytes
If an error is detected in the request, the returned 0x31 frame will be empty.

4.1.6 Response frame following an update of register(s)

This frame (0x33) is sent following the reception of a downlink with code 0x41 (see details section 4.2.5). It shows whether the downlink frame
(0x41) has been received and gives information on the support status of the latter.
• Downlink sent (0x41) to the product (Downlink):
0
1
Code
0x41
CONF ID1
Note: the data size «CONFIG1 value», «CONFIG2 value», «etc» is set to a variable byte number according to the register number. Refer to the
list of registers section 3.4.1 to determine the size of each register.
• Uplink sent back by the product:
0
1
0x33
Status
byte
Request Status:
- 0x01: success
- 0x02: error - no update
- 0x03: error - coherence
- 0x04: error - invalid register
- 0x05: error - invalid value
- 0x06: error - truncated value
- 0x07: error - unauthorized access
- 0x08: error - other reasons (contact the Adeunis support service)
Register id: indicates to the user the register that caused the error (only if «request status» =! 0x01).
2
3
PAYLOAD
CONF ID2
CONF ID3
X
2
3
VALUE1
VALUE1
VALUE2
2
3
PAYLOAD
CONF ID1
CONF ID 2 CONF ID 2
VALUE
VALUE
2
3-4
Request
Register id
status
4
5
...
X
X
4
5
...
PAYLOAD
VALUE3
VALUE3
4
...
...
...
...
n
CONF IDn
11
X
n
X
Page
80
of 98

Publicité

Table des Matières
loading

Table des Matières