8 - Commands
eDynamo| Secure Card Reader Authenticator | Programmer’s Manual (COMMANDS)
Page 125 of 245 (
D998200115-17
)
8.5.9
Extended Command 0x030D - Read Date and Time
Like all extended commands, the host initiates this command by calling
Extended Command Packet (Extended Commands Only)
, and receives a response as documented
there.
The host uses this command to get the date / time from the device’s internal clock. See
Command 0x030C - Set Date and Time (MAC)
Request Data: None
Table 8-55 - Response Data for Extended Command 0x030D - Read Date and Time
Offset Field Name
Value
0
Month
Value from 0x01..0x0C
1
Day
Value from 0x01..0x1F (less depending on month)
2
Hour
Value from 0x00..0x17
3
Minute
Value from 0x00..0x3B
4
Second
Value from 0x00..0x3B
5
Unused
0x00
6
Year
Value from 0x00 (2008)..0xFF (2263)
Result codes:
0x0000 = Success
0x0396 = Invalid Date / Time data (Date / Time has not been set yet)
Example Request (Hex)
Header
Command Number
49
Data Length
06
Data
Extended Data Offset
0000
Extended Command Number
030D
Complete Extended Data Length
0000
Extended Data
Not Applicable
Example Response (Hex)
Header
Result Code
0A
Data Length
0D
Data
Extended Data Offset
0000