Description Of The Frames; Uplink Frames; Fixed Bytes; Product Configuration Information Frames - ADEUNIS ARF8190BA Guide Utilisateur

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

Publicité

Les langues disponibles

Les langues disponibles

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

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

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 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 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 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 Product configuration information frames

Following reception of a downlink frame with the code 0x01 or on switching to the operating mode (from the Park or Command Mode), the
next frame (0x10) representing the application configuration of the product is transmitted:
0
1
Code
Status
0x10
Cf Status
S300
0x10
0x42
0x48
2
3
4
Bit 6
Bit 5
Frame Counter
0x00 to 0x07
2
3
4
S301
S320
0x00
0x02
5
6
7
PAYLOAD
Bit 4
Bit 3
Reserved
Reserved
X
X
X
X
X
X
X
X
5
6
7
PAYLOAD
S321
S322
S323
0x03
0x01
0x02
8
9
Bit 2
Bit 1
HW
Low Bat
Config
0
0
0
0
0
1
1
0
8
9
S306
X
0x01
Page
FR
10
EN
Bit 0
0
1
0
0
10
X
73
of 90

Publicité

Table des Matières
loading

Table des Matières