Please enable JavaScript to view this site.

Code:

AS + 110

Symbolic:

bccFlashFileInfo

This command will request information about a flash file of the connected device. Request parameters are the following:

Offset

Type

Label

Description

0

U32

FLAGS

Operating flags:

0x00000001 Generate absolute paths

0x00000006 Mask for date/time type:

- 0x0 (default)

- 0x1 Creation

- 0x2 Last modification

- 0x3 Last access

0x00000008 Fully qualified filename (implies absolute paths flag)

0x00000010 Dereference symbolic links (#1)

4

STRZ

FILENAME

Filename (with opt. folder)

Note (#1):  when showing file information for a symbolic link, show information for the file the link references rather than for the link itself.

On success, a bccAck is received with the following data:

Offset

Type

Label

Description

0

U8

HH

Time (hour) of the item

1

U8

MM

Time (minute) of the item

2

U8

SS

Time (second) of the item

3

U8

DD

Date (day) of the item

4

U8

MO

Date (month) of the item

5

U8

YY

Date (year - 2000) of the item

6

U32

ATTRIB

Attributes:

0x00000001 Absolute path

0x00000002 Reserved file

0x00000004 System file

0x00000008 Illegal file

0x00000010 File in use (left open)

0x00000020 Hidden file

0x00000040 Read-only file

0x00000080 Symbolic link

0xF0000000 File type mask:

- 0x0 Generic

- 0x1 Folder (special file)

- 0x2 OS standard

- 0x3 OS test

- 0x4 OS standard flat

- 0x5 Old language (without OSF)

- 0x6 FIFO (queue)

10

U16

DEVID

Flash device ID

12

U16

CRC16

CRC16 file value (0=no info available)

14

U16

-

Reserved

16

U32

SIZE

Effective file size [bytes]

20

STRZ

FILENAME

Filename

On failure, a bccNack is received. Specific errors:

NACK code

Description

Extra data

nackFileNotExist

(nackNotFound)

File not existing

 

nackIllegalArgs

Illegal parameters

U16 What illegal:

1=Flags

2=Folder

3=Filename

 

  

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