Data Sheet
Shenzhen Waytronic Electronics Co., Ltd. WT2003S-16S Chip
- 11 -
Return format
Operation code
Return value(2BYTE)
0XC5
The total number of files
2.3.4.16. Query the file track currently playing (C9)
Start code
Length
Command
Check code
End code
7E
03
C9
CC
EF
Return format
Operation code
High byte of file number
Low byte of file number
0XC9
XX
XX
2.3.4.17. Query the current external connection status(CA)
Start code
Length
Command
Check code
End code
7E
03
CA
CD
EF
Return format
Operation code
Return value
0XCA
XX
When insert or remove SD card or U disk, WT2003S will automatically return information to prompt. Low
4BIT of return value stands for the status of PC connection (BIT3), U disk (BIT2), SD card (BIT1) and
SPI-FLASH (BIT0).
0 stands for existence; 1 stands for nonexistence.
For example:
0x01: without PC connection (BIT3=0), without U disk (BIT2=0), without SD card (BIT1=0), with
SPI-FLASH (BIT0=1).
0x07: without PC connection (BIT3=0), with U disk (BIT2=1), with SD card (BIT1=1), with SPI-FLASH
(BIT0=1).
2.3.4.18. Query the song name of the current play(CB)
Start code
Length
Command
Check code
End code
7E
03
CB
CE
EF