20
User Manual v1.4.3
HYDRODIGIT
Code
Command
Description
0x07
GET_FW_VERSION
Command used to read FW version
0x13
GET_METER_SN
Command used to read meter Serial Number
0x0A
RESET
Command used to read reset the meter and to re-initialize the LoRaWAN
parameters in order to start a new join procedure (+/-5 liters)
0x14
SET_DATE_AND_TIME
Command used to set date and time
0x15
GET_DATE_AND_TIME
Command used to read date and time
0x24
SET_TX_PAR
Command used to set the transmission parameters only (21600 or 43200
seconds).
0x26
SET_ALARM_PAR
Command used to set the temperature byte data sending or not.
0x27
GET_ALARM_PAR
Command used to read the alarms detection parameters.
0x28
GET_ALARM_DATA
Command used to read the alarms data and flags.
0x29
SET_ALARM_DATA
Command used to set the alarm flags
LoRaWAN Downlink commands
In t
he table below you can find the LoRaWAN downlink commands available:
Command description
This se
ction describes the payload sent from/to the Application server. All the downlink communications
are sent ove
port 1
.
GET_FW_VERSION (0x07)
This
command gets the firmware version of the meter. From Application server to meter:
HEADER property
Data
Fct
C/R/A
Err
Chain
Len
Device type
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
0x07
0
0
0
0x00
0x05
Answer:
HEADER property
Data
Fct
C/R/A
Err
Chain
Len
Device
type
Reserved Reserved FW
measure
FW Radio
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
0x07
0x01
0x00
0x00
0x05
0x05
0x00
0x00
0x01
0x01
The Err field can have the following meanings:
0x00 – No error
0x02 – Error on the device type
0x04 – Error on the command length.
Example
GET FW VERSION (0x07)
R2H: 0x07, 0x00, 0x00, 0x00, 0x00 0x05
H2R: 0x07, 0x01, 0x00, 0x00, 0x05, 0x01, FW1, FW
2
GET FW VERSION (0x07) with incorrect length
R2H: 0x07, 0x00, 0x00, 0x00, 0x01, 0x00
H2R: 0x07, 0x01, 0x04, 0x00, 0x00