Please enable JavaScript to view this site.

Code:

AS + 104

Symbolic:

bccFlashFileRename

This command will rename a file in a flash folder of the connected device. Request parameters are the following:

Offset

Type

Label

Description

0

U32

FLAGS

Operating flags:

0x00000001 Overwrite target file

4

U8

SLEN

Source length (+1)

5

U8

TLEN

Target length (+1)

6

STRZ

SOURCE

Source filename (with opt. folder)

...

STRZ

TARGET

Target filename (with no folder)

On success, a bccAck is received with no data.

On failure, a bccNack is received. Specific errors:

NACK code

Description

Extra data

nackFileNotExist

(nackNotFound)

Source folder and/or filename not existing

 

nackFileExist

Target filename already existing

 

nackIllegalArgs

Illegal parameters

U16 What flags:

1=Flags

2=Source folder

3=Source filename

4=Target folder

5=Target filename

nackReadOnly

The target file (or the flash itself) is read-only and cannot be overwritten.

 

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC