![background image](http://html1.mh-extra.com/html/b-meters/hydrodigit/hydrodigit_operating-instructions-manual_3070188022.webp)
22
User Manual v1.4.3
HYDRODIGIT
SET_DATE_AND_TIME (0x14)
From Application server to meter:
HEADER property
Data
Fct
C/R/A Err
Chain
Len
Device
type
Day
Week
day
Month Year
Hour
Minutes
Seconds
1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte
0x14
0
0
0
0x08
0x05
1
1
1
18
10
23
0
HEADER property
Fct
C/R/A
Err
Chain
Len
1 byte
1 byte
1 byte
1 byte
1 byte
0x14
1
0
0
0x00
Answer:
The Date field is described as follows (BCD format):
Name
Type
Default
Minimum
Maximum
Index
Day
Uint8_t
1
1
31
1
Day of the week
(0: Sunday, 1: Monday..)
Uint8_t
0
0
6
2
Month
(1: January, 2: February..)
Uint8_t
1
1
12
3
Year
Uint8_t
18
18
100
4
Hour
Uint8_t
0
0
23
5
Minutes
Uint8_t
0
0
59
6
Seconds
Uint8_t
0
0
59
7
The Err field can have the following meanings:
0x00 – No error
0x01 – Error data field not valid.
0x02 – Error on the device type
0x04 – Error on the command length
GET_DATE_AND_TIME (0x15)
From meter to Application Server:
HEADER property
Data
Fct
C/R/A
Err
Chain
Len
Device type
1 byte
1 byte
1 byte
1 byte
1 byte
1 byte
0x15
0
0
0
0x01
0x05