Response Frame Following An Update Of Register(S) Via Downlink; Periodic Data Frame - ADEUNIS Sigfox Smart Building COMFORT Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Sigfox Smart Building COMFORT - Guide utilisateur / User guide version V1.0.1

4.1.7 Response frame following an update of register(s) via downlink

Following reception of a downlink frame with the code 0x41, the frame 0x33 is transmitted (see paragraph 4.2.5 for details). It shows whether
the downlink frame (0x41) has been received and gives information on the support status of the latter.
Note: the data size "CONF ID 1 VALUE", "CONF ID 2 VALUE", "etc." is set to a variable byte number according to the register number. Refer to
the list of registers in paragraph 3.4.1 to determine the size of each register.
FR
0
1
0x33
Status
byte
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.
EN
Request status
-
0x01: success => device restart as a result of this request
-
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 - device defect
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.
Registry ID: Indicates to the user the registry that caused the error (only if "Request Status" is different from 0x01).

4.1.8 Periodic data frame

This frame (0x4C) is sent according to the period chosen by the user (period = S321xS320xS301) and contains the periodic data T+H readings.
Each history log contains the temperature and humidity corresponding to a size of 3 bytes:
- the first 2 bytes for temperature: 16 bits signed in tenths of °C. For example, the value 0x0145 i.e.325 in decimal represents a temperature of
32.5°C.
- the last byte for humidity: 8 bits unsigned in%. For example, the value 0x32 or 50 in decimal represents a relative humidity of 50%.
In Sigfox, the maximum transportable in a frame is 3 readings (T+H). The device sends readings from the most recent to the oldest.
0
1
Code
PAYLOAD
0x4C
Status
0x4C
0xA3
NOTE: if S301 > 3, the "Error" will appear in the status byte. In this case the frame will send the most recent readings at the expense of the
oldest ones that will be potentially lost.
For example, the following frame 4CA3014532 (en hexadecimal) means :
- Frame code = 0x4C, periodic data frame
- Status 0xA3, meaning a frame counter at 5, a low battery alarm and configuration validation.
- Temperature t = 0 = 0x0145 is 325 in decimal i.e. 32.5°C
- Humidity t= 0 = 0x32 is 50 in decimal i.e. 50%
- Temperature t=-1 = 0x0107 i.e. 263 in decimal or 26.3°C
- Humidity t= -1 = 0x34 i.e. 52 in decimal or 52%
2
3-4
Status of the
Register ID
request
2 and 3
4
5 and 6
Value T at
Value H at
Value T at
t=0
t=0
t=-1
0x0145
0x32
x0107
DISTRIBUTED BY TEXIM EUROPE
7
8 and 9
PAYLOAD
Value H at
Value T at
t=-1
=-2
0x34
...
10
Value H at
t=-2
...
Page
72
of 85

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8275c

Table des Matières