Description Of The Frames; Uplink Frame; Fixed Bytes; Byte Code - ADEUNIS LoRaWAN US902-928 Pulse Guide Utilisateur

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LoRaWAN US902-928 Pulse - Guide utilisateur / User guide version V1.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

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
Bit 7
No Error
Configuration
done
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, otherwise 0. This information remains permanent.
• Confg: bit at 1 if a confguration 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 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
Reserved
X
X
X
X
X
X
X
X
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
Page
78
of 100

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Arf8230b

Table des Matières