
EN
Sigfox Smart Building MOTION - Guide utilisateur / User guide version V1.0.1
68
Page
of 83
FR
4. DESCRIPTION OF FRAMES
4.1. Uplink frames
The uplink frames of the device to the network have a variable size according to the information transmitted.
4.1.1 Fixed bytes
The first two bytes of the frame systematically indicate the frame code and status as shown below:
0
1
2
3
4
5
6
7
8
9
10
Code
Status
PAYLOAD
4.1.1.01
Byte code
This byte contains the frame code to make it easier for the information system to decode the frame.
4.1.1.02
Status byte
The Status byte is broken down as follows:
Alarms Status
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Frame counter
Reserved
Configuration
inconsistency
Hardware
error
Low battery
Configuration
successful
No error
0x00 à 0x07
X
0
0
0
0
Configuration
successful
X
0
0
0
1
Low battery
X
0
0
1
0
Hardware error
X
0
1
0
0
Configuration
inconsistency
X
1
0
0
0
Field details:
• Frame counter: it increments on each broadcast and allows you to quickly see if a frame has been lost. It counts from 0 to 7 before
looping back.
• Hardware error: this bit is set when a hardware error has occurred, for example an EEPROM write problem, a reading problem on the
ADC ... The device must be returned to After-Sales Service
• Low battery: 1 bit if low battery, otherwise 0.
• Set up successful: bit set to 1 if a configuration was performed during the last downlink, otherwise 0. This bit returns to 0 from the next
frame.
• Configuration inconsistency: readings lost in periodic mode because the size of the data available in the frame does not allow it to send
all the requested values in the configuration of the history.
E.g.:
A value of the status byte equal to 0xA3 (= 10100011 in binary) gives:
• Bit 7 to 5 = 101 = 0x05 i.e. a frame counter at 5
• Bit 4 to 0 = 00011 in binary i.e. a low-battery alarm and the validation of the configuration
4.1.2 Information frames on device configuration
Following the receipt of a downlink with the code 0x01 or when switching to operating mode (PARK or COMMAND mode output), the follow-
ing frame (0x10) representing the application configuration of the device is transmitted:
0
1
2 et 3
4 et 5
6 et 7
8 et 9
10 et 11
Code
Status
PAYLOAD
0x10
Cf Status
S300
S301
S320
S321
S322
0x10
0xA3
0x21C0
0x0008
0x0012
0x012C
0x0001
Its size is 10 bytes.
DISTRIBUTED BY TEXIM EUROPE