Code: |
AS + 114 |
Symbolic: |
bccFlashFolderDelete |
This command will request to delete an existing flash folder (or a hierarchy of folders in case of recursive flag):
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Operating flags: 0x00000001 Delete recursively (all PATH levels) 0x00000002 Prune the folder content (#1) |
4 |
STRZ |
PATH |
Flash folder absolute path (0-termined, using / as folder separator) |
(#1) The prune flag will request to remove the entire content of the folder (or any interested folder in case of recursive flag).
On success, a bccAck is received with no data.
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal argument |
U16 What illegal: 1=Flags 2=Folder path |
nackFolderNotExist (nackNotFound) |
Folder path not found |
|
nackReadOnly |
The folder (or the flash itself) is read-only and cannot be deleted. |
|
nackNotEmpty |
The folder is not empty (and no prune flag specified) and cannot be deleted. |
|