Protocol Frame Description

Player response to FS_FREAD_BLOCK command is FS_READ_BLOCK_DATA*.

Once end of file is reached, Player response to FS_READ_BLOCK command is FS_READ_BLOCK_DATA_END*. Remote Controller can stop reading file at any moment by sending the FS_FCLOSE command.

Note: (*) means that the frame is a player response.

FS_FCLOSE Command Close current file (close read or close write file). This command is used to stop any read or write file transfer. This command is not necessary :

„when reading file and end of file is reached (FS_READ_BLOCK_DATA_END* response).

„when writing the last block of the file.

Table 5-47 .FS_FCLOSE command

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

69h

00h

No

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

FS_GETMEMFREESPACE Get selected memory free space left.

Table 5-48 .FS_GETMEMFREESPACE command

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

6Ah

00h

No

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

Player response is FS_MEMFREESPACE* frame.

FS_GETFILESIZE Get current file size in Byte.

Table 5-49 .FS_GETFILESIZE command

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

6Bh

00h

No

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

Player response is FS_FILESIZE* frame.

Note: Directory size is 0.

FS_GETFILEPOS Get current file position (playing operating mode only).

Table 5-50 .FS_GETFILEPOS command

 

 

Protocol

 

 

 

Frame Start

Channel

Command

Data Length

Data

CheckSum

 

 

 

 

 

 

7Eh

If not used,

6Ch

00h

No

Yes

FFh

 

 

 

 

 

 

 

 

 

 

 

AT83SND2CMP3 User Guide

5-43

7525A–MP3–07/05