Description Of The Frames; Uplink Frame; Fixed Bytes; Byte Code - ADEUNIS ARF8230CA Guide Utilisateur

Masquer les pouces Voir aussi pour ARF8230CA:
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN 863-870 PULSE - Guide utilisateur / User guide version V3.0.0
4.

DESCRIPTION OF THE FRAMES

4.1. Uplink frame

The uplink frames of the product to the network have a different size depending of the transmitted
data.
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
Status

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
Bit 7
Status
No Error
Configura-
tion done
Low bat
HW Error
Configura-
tion incon-
sistency
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, otherwise 0. This information remains
permanent.
• Configuration done: bit at 1 if a configuration was carried out during the last downlink frame, oth-
erwise 0. This bit returns to 0 as from the next frame.
• Configuration incoherency: data lost in periodic transmission because payload is insufficient
(wrong configuration)
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
2
3
4
Bit 6
Bit 5
Frame Counter
0x00 to 0x07
5
6
7
PAYLOAD
Bit 4
Bit 3
Reserved
Configura-
tion incon-
sistency
X
0
X
0
X
0
X
0
X
1
8
9
10
Bit 2
Bit 1
Bit 0
HW
Low Bat
Config
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
Page
83
FR
EN
of 103

Publicité

Table des Matières
loading

Table des Matières