SmartWAV2-SerialMode_R1
SMARTWAV 2
Serial Mode
Vizic Technologies ©2020 | 72
8.6 Open Directory - 0x46, 0x44hex - ‘F, ‘D’ ascii
Commands (host)
byte(s)
1.- 0x46 (hex), F (ascii). *FAT command.
2.- 0x44 (hex), D (ascii). *Open Directory.
3 to n .- Directory 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
This command Opens a Directory/Folder
that is inside the current directory path.
After “Open Directory” command is
executed and succeeds (ACK), the current
directory path name will add a slash ‘/’ plus
the new requested to open directory name.
To go inside a directory, call this command
with the Directory Name as parameter.
To go outside a directory or to parent
directory, call this command with the “..” as
Directory Name parameter.
*Once a directory is opened or closed, it is
recommended to call the command “Get
Current Path” to get/know the new current
directory path.