Code: |
AS + 103 |
Symbolic: |
bccFlashFileDelete |
This command will delete one or more files from a flash folder on the connected device. Request parameters are the following:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U32 |
FLAGS |
Operating flags: 0x00000001 Delete recursive 0x00000002 Delete empty folders |
4 |
STRZ |
FILEMASK |
Filename mask (with jollies) |
On success, a bccAck is received with the following data:
Offset |
Type |
Label |
Description |
---|---|---|---|
0 |
U16 |
COUNT |
No. of deleted files |
On failure, a bccNack is received. Specific errors:
NACK code |
Description |
Extra data |
---|---|---|
nackIllegalArgs |
Illegal parameters |
U16 What illegal: 1=Folder 2=Filename 3=Flags |
nackReadOnly |
One or more file (or the flash or the device itself) is read-only and cannot be deleted. |
|