EasyManua.ls Logo

Flyron Technology FN-BC07 - Page 16

Flyron Technology FN-BC07
16 pages
Print Icon
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.flyrontech.com
E-mail: info@flyrontech.com
Flyron Technology Co., Ltd. FN-BC07 MP3 Sound Module with 15W Amplifier
16
When the module is working, users can use the command as above (0x3F) to query the status of the online storage devices. For
example, if the module returns the data 7E FF 06 3F 00 00 0A xx xx EF, LSB 0x0A (0000 1010) represents SD card online. If LSB
is 0x1F (0000 1111), it represents both of SD card and PC online (PC online means module is connecting with PC via a USB cable).
3.5.2. Query current status
Query current online storage device 7E FF 06 42 00 00 00 FE B9 EF
1).There are 4 status (playing, paused playing, stopped playing and in sleep) that can be queried during the
module is decoding. Users can query the current status via sending the command as above (0 x42)
2). Interpretation of returned data
Returned Data
Status
7E FF 06 42 00 02 01 xx xx EF
SD card is being played
7E FF 06 42 00 02 02 xx xx EF
SD card is paused playing
7E FF 06 42 00 04 00 xx xx EF
SPI flash is stopped playing
7E FF 06 42 00 04 01 xx xx EF
SPI flash is being played
7E FF 06 42 00 10 00 xx xx EF
Module in sleep
3). MSB and LSB Representations
MSB Representation
LSB Representation
0x02
SD card
0x00
Stopped
0x04
SPI flash
0x01
Playing
0x10
Module in sleep mode
0x02
Paused
3.5.3. Query number of tracks in a folder
Query number of tracks in folder 01
7E FF 06 4E 00 00 01 FE AC EF
Query number of tracks in folder 11
7E FF 06 4E 00 00 0B FE A2 EF
If the folder queried is empty without any files, the module will report an error and the data 7E FF 06 40 00 00 06 FE B5 EF will be
returned.
3.5.4. Query number of total folders in current storage device
Query number of total folders in current storage device 7E FF 06 4F 00 00 00 FE AC EF
Users can query this through sending the command above. This just supports to query the folder numbers in the root directory of
the device. Not possible to query the sub-folder numbers (Please do not build any sub-folders in a folder).