Code: |
AS + 115 |
Symbolic: |
bccFlashFolderInfo |
This command will request information about an existing flash folder. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Operating flags: 0x00000003 Mask for date/time type: - 0x0 (default) - 0x1 Creation - 0x2 Last modification - 0x3 Last access |
4 |
STRZ |
PATH |
Flash folder absolute path (0-termined, using / as folder separator) |
On success, a bccAck is received with the following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U8 |
HH |
Time (hour) of the folder |
1 |
U8 |
MM |
Time (minute) of the folder |
2 |
U8 |
SS |
Time (second) of the folder |
3 |
U8 |
DD |
Date (da) of the folder |
4 |
U8 |
MO |
Date (month) of he folder |
5 |
U8 |
YY |
Date (year - 2000) of the folder |
6 |
U32 |
ATTRIB |
Folder attributes: 0x00000002 Reserved folder 0x00000004 System folder 0x00000008 Illegal folder 0x00000020 Hidden folder 0x00000040 Read only folder |
10 |
U16 |
DEVID |
Flash device ID |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackFolderNotExist (nackNotFound) |
Folder path not found |
|
nackIllegalArgs |
Illegal argument |
U16 What illegal: 1=Flags 2=Folder path |