Code: |
AS + 113 |
Symbolic: |
bccFlashFolderCreate |
This command will request to create a new flash folder with the specified path:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Operating flags: 0x00000001 Create recursively (all PATH levels) 0x00000002 Make the folder (#1) |
4 |
U32 |
ATTRIB |
Flash folder attributes: 0x00000020 Hidden folder 0x00000040 Read only folder |
8 |
STRZ |
PATH |
Flash folder absolute path (0-termined, using / as folder separator) |
(#1) The make flag will tell the command to be successfully even if the folder already exist.
On success, a bccAck is received with no data.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal params |
U16 What illegal: 1=Flags 2=Attributes 3=Folder path |
nackFolderNotExist (nackNotFound) |
Folder path (full/partially) not found |
|
nackReadOnly |
The flash is read-only and the new folder cannot be created. |
|
nackFolderExist |
The folder path already exist (and no make flag specified) |
|