#ifndef __YX5200_MSG_H__
#define __YX5200_MSG_H__

enum
{
    MSG_0 = 0,
    MSG_1,
    MSG_2,
    MSG_3,
    MSG_4,
    MSG_5,
    MSG_6,
    MSG_7,
    MSG_8,
    MSG_9,
    MSG_DEVICE_REMOVED,
    MSG_CHANGE_WORK_MODE,
    MSG_MUSIC_NEW_DEVICE_IN,
    MSG_MUSIC_SELECT_NEW_DEVICE,
    MSG_MUSIC_SELECT_NEW_FILE,
    MSG_MUSIC_PLAY_NEW_FILE,		//0x0F
    MSG_MUSIC_CONTINUE_PLAY_FILE,  //0x10
    MSG_VOL_UP,
    MSG_VOL_DOWN,
    MSG_MUSIC_NEXT_FILE,
    MSG_MUSIC_PREV_FILE,
    MSG_MUSIC_PP,
    MSG_MUSIC_PLAY,
    MSG_MUSIC_PAUSE,
    MSG_MUSIC_STOP,
    MSG_MUSIC_FF,
    MSG_MUSIC_FR,
    MSG_MUSIC_FFR_DONE,
    MSG_MUSIC_NEXT_EQ,
    MSG_MUSIC_PREV_EQ,
    MSG_NEXT_PLAYMODE,
    MSG_PREV_PLAYMODE,			//0x1F
    MSG_NEXT_WORKMODE,     		//0x20
    MSG_PREV_WORKMODE,
    MSG_PICH_SONG,
    MSG_PICH_DEVICE,
    MSG_NEXT_DEVICE,
    MSG_PREV_DEVICE,
    MSG_DELAY_TIME,
    MSG_MUSIC_OVER,

    MSG_RETURN_INIT,
    MSG_RETURN_MINIT,  //返回模块上电的参数
    MSG_QUERY_NUMTOTAL,//查询当前设备总文件数
    MSG_RETURN_NUMTOTAL,//显示返回的总文件数
    MSG_QUERY_CURNUM,   //查询当前播放的曲目
    MSG_RETURN_CURNUM,  //显示当前播放的曲目

    MSG_QUERY_FILENUM,	//查询文件数
    MSG_RETURN_FILENUM,	//显示文件数
    MSG_QUERY_FOLDNUM,	//查询文件夹数
    MSG_RETURN_FOLDNUM,	//显示文件夹数

    MSG_QUERY_VOL,      //查询当前的音量//0x2F
    MSG_RETURN_VOL,     //显示当前的音量//0x30
    MSG_QUERY_EQ,       //查询当前的EQ
    MSG_RETURN_EQ,      //显示当前的EQ
    MSG_QUERY_PLAYMODE, //查询当前的播放模式
    MSG_RETURN_PLAYMODE,//显示当前的播放模式

    MSG_QUERY_ERROR ,
    MSG_RECV_ERROR ,
    MSG_UART_ACK,
    MSG_TRIG_MODE,//触发模式[播放一曲即进入暂停]
    MSG_10MS,
    MSG_100MS,
    MSG_200MS,
    MSG_INPUT_TIMEOUT,

    MSG_PLAY_RANDOM,//随机播放

    MSG_SET_PLAYMODE,//指定播放模式[单曲、单曲循环、指定文件名]
    MSG_PLAYALL,
    MSG_PLAYALL_ON,
    MSG_PLAYALL_OFF,

    MSG_UDISK_IN,
    MSG_TF_IN,
    MSG_PC_IN,
    MSG_UDISK_OUT,
    MSG_TF_OUT,
    MSG_PC_OUT,

    NO_MSG = 0xFF,
};



#endif
