SmartWAV2-SerialMode_R1

SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 86
8.15 Set Date & Time - 0x46, 0x54hex - ‘F, ‘T’ ascii
Commands (host)
byte(s)
1.- 0x46 (hex), F (ascii). *FAT command.
2.- 0x54 (hex), T (ascii). *Date & Time.
3.- 0x53 (hex), S(ascii). *Set.
4.- 0xXX - Hours.
5.- 0xXX - Minutes.
6.- 0xXX - Seconds.
7.- 0xXX - Day.
8.- 0xXX - Month.
9.- 0xXX - Year - High Byte.
10.- 0xXX - Year - Low Byte.
11 to n .- Directory/File Name.
n+1 .- 0x00 (hex), NULL ascii.
Responses (device)
byte(s)
1.- 0xXX - FAT ACK/NAK List Byte Reply.
2.- 0x4F (hex), O (ascii) - Success ACK or
0x46 (hex), F (ascii) - Fail NAK.
Description
The Set Date & Time command modifies the
last modified Date and Time timestamp of
the received directory or file name inside the
current directory path.
*Note that the “New Directory”, “New File”
and “Write File” commands update the
timestamp of the created / modified
directory or file. As the SmartWAV 2 does not
integrates a RTC clock, the updated
timestamp is generic when using those
commands.