SmartGPU2-LCD480X320Touch-CommandSet

SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 95
2.9.3 Get Dir Path 48hex ‘H’ ascii
Commands (host)
2 bytes
1.- 0x46 (hex), F (ascii). *FAT command.
2.- 0x48 (hex), H (ascii). (Get Path)
Responses (device)
Directory path name + 1 byte NULL + 1
byte File ACK + 1 byte Command ACK
1 up to N.- Directory path name.
N+1.- 0x00(hex), NULL(ascii).
N+2.- 0xXX (hex) - Refer to “File ACK List”.
N+3.- 0x4F (hex), O (ascii) success ACK.
0x46 (hex), F (ascii) fail NAK.
Description
This command returns the current microSD
card folder/directory path address. This
command let the user know under which
nested folder or the root path is performing
operations.
This command returns the path name in the
following convention, ending with the ‘/’
character, followed by the 0x00(hex) NULL
character:
0:/directory1/directory2/
Is recommended to call this command each
time that the user opens/enter a new directory.
Example (sent and received
commands)
Example 1:
<46,48> 30,3A,2F,00,00,4F Get current
directory path name: the current directory path
name is root path “ 0:/ ”.
All data is in hex.