Description Of Frames; Uplink Frames; Fixed Bytes; Information Frames On Device Configuration - ADEUNIS Sigfox Smart Building MOTION Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

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

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

FR
The first two bytes of the frame systematically indicate the frame code and status as shown below:
0
1
Code
Status
4.1.1.01
Byte code
EN
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
No error
Configuration
successful
Low battery
Hardware error
Configuration
inconsistency
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
Code
Status
0x10
Cf Status
0x10
0xA3
Its size is 10 bytes.
2
3
Bit 7
Bit 6
Frame counter
0x00 à 0x07
2 et 3
4 et 5
PAYLOAD
S300
S301
0x21C0
0x0008
0x0012
DISTRIBUTED BY TEXIM EUROPE
4
5
6
PAYLOAD
Bit 5
Bit 4
Reserved
Configuration
inconsistency
X
X
X
X
X
6 et 7
8 et 9
10 et 11
S320
S321
S322
0x012C
0x0001
7
8
Bit 3
Bit 2
Hardware
Low battery
error
0
0
0
0
0
0
0
1
1
0
9
10
Bit 1
Bit 0
Configuration
successful
0
0
0
1
1
0
0
0
0
0
Page
68
of 83

Publicité

Table des Matières
loading

Table des Matières