Description Of The Frames; Uplink Frames; Fixed Bytes; Product Configuration Information Frames - ADEUNIS LoRaWAN 863-870 ANALOG PWR Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN 863-870 ANALOG PWR - Guide utilisateur / User guide version V2.0.2

4. DESCRIPTION OF THE FRAMES

4.1. Uplink frames

All of the uplink frames of the product to the network (uplink) always have a size of 11 bytes.

4.1.1 Fixed bytes

FR
The first two bytes of the frame are systematically dedicated to indicate the frame code and the status as presented below:
0
1
Code
Status
4.1.1.01
Byte code
EN
This byte contains the code associated with the frame to facilitate its decoding by the data system.
4.1.1.02
Status Byte
The status byte is broken down in the following way:
Alarm Status
No Error
Configuration
done
HW Error
Details of the fields:
• Frame counter: Frame counter, it increments at each transmission and allows the user to see quickly if a frame has been lost. It counts from
0 to 7 before looping back.
• HW: This bit is set to 1 when a hardware error has occurred, for example a writing problem in the EEPROM, a reading problem on the ADC,
etc. The product must be returned to the service dept.
• Config: bit at 1 if a configuration was carried out during the last downlink frame, otherwise 0. This bit
returns to 0 as from the next frame.
E.g.:
A value of the status byte equal to 0xA0 (= 10100000 in binary) gives:
• Bit 7 at 5 = 101 = 0x05 i.e. a frame counter at 5
• Bit 4 at 0 = 00000 in binary i.e. a low battery alarm

4.1.2 Product configuration information frames

During the passage into operation mode (from the Park or Command Mode), the following frames (0x10 to 0x14) representing the application
configuration of the product are transmitted:
0
1
Code
Status
0x10
Cf Status
0x10
0xA0
Description of the frame:
• Byte 2: register 300, periodicity of the Keep Alive frame, expressed in tens of minutes
• Byte 3: register 301, periodicity of the transmission, expressed in tens of minutes
• Byte 4: register 320, configuration of the channel A sensor
• Byte 5: register 321, configuration of the events on channel A
• Byte 6: register 322, configuration of the channel B sensor
2
3
Bit 7
Bit 6
Frame Counter
0x00 to 0x07
2
3
S300
S301
0x48
0x00
4
5
6
PAYLOAD
Bit 5
Bit 4
Reserved
Reserved
X
X
X
4
5
6
PAYLOAD
S320
S321
S322
0x02
0x03
0x01
7
8
Bit 3
Bit 2
HW
Reserved
X
0
X
0
X
1
7
8
S323
S306
0x02
0x01
9
10
Bit 1
Bit 0
Config
X
0
X
1
X
0
9
10
X
X
Page
70
of 87

Publicité

Table des Matières
loading

Table des Matières