Description Of The Frames; Uplink Frame; Fixed Bytes; Frames Of Information On The Product Configuration - ADEUNIS LoRaWAN TEMP Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN TEMP - Guide utilisateur / User guide version V1.2.0

4. DESCRIPTION OF THE FRAMES

4.1. Uplink frame

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

4.1.1 Fixed bytes

The first two bytes of the frame are systematically dedicated to indicate the frame code and the status as presented below:
0
1
Code
Statut
4.1.1.01
Byte code
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
Bit 7
No Error
Low bat
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.
• Low Bat: bit at 1 if the battery voltage is less than 2.5V (defined in register S522), otherwise 0. This information remains permanent.
E.g.:
A value of the status byte equal to 0xA2 (= 10100010 in binary) gives:
• Bit 7 at 5 = 101 = 0x05 i.e. a frame counter at 5
• Bit 4 at 0 = 00010 in binary i.e. a low battery alarm

4.1.2 Frames of information on the product configuration

During the passage into operation mode (from the Park or Command Mode), the following frames (0x10 to 0x12) representing the application
configuration of the product are transmitted:
0
1
Code
Status
0x10
Cf Status
S300
0x10
0xA2
0x48
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 transmission (periodic mode), expressed in tens of minutes
• Byte 4: register 302, configuration of the internal sensor
• Byte 5: register 303, configuration of the events of the internal sensor
• Byte 6: register 304, configuration of the external sensor
• Byte 7: register 305, configuration of the events of the external sensor
2
3
4
Bit 6
Bit 5
Frame Counter
0x00 to 0x07
2
3
4
S301
S302
0x00
0xD0
5
6
7
PAYLOAD
Bit 4
Bit 3
Booked
Booked
X
X
X
X
X
X
5
6
7
PAYLOAD
S303
S304
S305
0x03
0x80
0x02
8
9
Bit 2
Bit 1
Bit 0
HW
Low Bat
Booked
0
0
0
1
1
0
8
9
S306
Type Ext
0x01
0x02
10
EN
0
0
0
10
S317
0x0A
65 of 79

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8180ba

Table des Matières