Protocol Frame Description

Table 5-72 .FS_FILESIZE Frame

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

 

 

 

 

Byte 0: Player Status Byte

 

 

 

 

 

Byte 1: MSB3 File size

 

7Eh

If not used,

8Bh

05h

Byte 2: MSB2 File size

Yes

FFh

Byte 3: MSB1 File size

 

 

 

 

 

 

 

 

Byte 4: MSB0 File size

 

 

 

 

 

 

 

Note:

File size is 4 bytes (MSB is byte 0). Directory size is 0.

FS_FILEPOS* Response Player

current file position (only in Player PLAY operating mode). The frame

FS_FILEPOS returns 2 parameters:

„FCHAIN_INDEX: number of the fragment of the file, in fact the index of the table in the cluster chain (frame parameter byte 1 ).

„FLAST_CLUST_INDEX: index of the last cluster in file chain (frame parameter byte 2).

The File position is then given by the following formula:

FilePosition (%) = 100 * FCHAIN_INDEX / FLAST_CLUST_INDEX

Table 5-73 .FS_FILEPOSFrame

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

 

If not used,

 

 

Byte 0: Player Status Byte

 

7Eh

8Ch

03h

Byte 1: FCHAIN_INDEX

Yes

FFh

 

 

 

Byte 2: FLAST_CLUST_INDEX

 

 

 

 

 

 

 

 

 

 

 

 

PLAYER_END_OF* Response Player has reached end of

„list after the PLAYER_GET_FILE_LIST command.

Table 5-74 .PLAYER_END_OF_LIST Frame

 

 

Protocol

 

 

 

 

Frame Start

Channel

Command

Data Length

 

Data

CheckSum

 

 

 

 

 

 

 

 

 

 

Byte 0: Player Status

 

7Eh

If not used,

8Dh

02h

Byte 1:

Yes

FFh

- 00h

=> reserved

 

 

 

 

 

 

 

 

- 01h

=> End of list reached

 

 

 

 

 

 

 

 

SYSTEM_MOUNTED* Frame Player has finished to select and install file system FAT on selected memory.

Example:

„Remote Controller sends the SYSTEM_SELECT_MEMORY command.

„When file system install is finished, the Player status is updated with: FNA or MNF or MERROR. The Player send the SYSTEM_MOUNTED frame.

5-52

AT83SND2CMP3 User Guide

7525A–MP3–07/05