MQTT mp3模块
[下一首]
{
"address": 1,
"function" : "next",
"para":1
}
[上一首]
{
"address": 1,
"function" : "back",
"para":1
}
[指定曲目]
{
"address": 1,
"function" : "playnum",
"para":1
}
[指定音量]
{
"address": 1,
"function" : "volume",
"para":10
}
[指定 EQ]
{
"address": 1,
"function" : "EQ",
"para":"pop"
}
[循环播放曲目],循环播放编号1
{
"address": 1,
"function" :"repeat"
"para":1
}
[指定播放设备]
{
"address": 1,
"function" : "device",
"para":"tf"
}
[进入睡眠模式]
{
"address": 1,
"function" : "sleep",
"para":1
}
[模块复位]
{
"address": 1,
"function" : "reset",
"para":1
}
[播放]
{
"address": 1,
"function" : "play",
"para":1
}
[暂停]
{
"address": 1,
"function" : "pause",
"para":1
}
[指定文件夹]
{
"address": 1,
"function" : "playfolder",
"para":1
}
循环播放全部
{
"address": 1,
"function" : "playall",
"para":1
}
指定 MP3 文件夹中文件,指定为"MP3"的文件夹, 曲目为"0001"
{
"address": 1,
"function" : "playnum",
"para":1
}
指定 MP3 文件夹中文件,指定为"MP3"的文件夹, 曲目为"1122"
{
"address": 1,
"function" : "playnum",
"para":1122
}
指定插播广告,播放第一个广告
{
"address": 1,
"function" : "playad",
"para":1
}
停止播放插播广告
{
"address": 1,
"function" : "playad",
"para":-1
}
指定文件夹循环播放
{
"address": 1,
"function" : "playfolderrepeat",
"para":1
}
随机播放
{
"address": 1,
"function" : "playrandom",
"para":1
}
单曲循环播放,单曲循环播放开启
{
"address": 1,
"function" : "singleloopplay",
"para":1
}
单曲循环播放,单曲循环播放关闭
{
"address": 1,
"function" : "singleloopplay",
"para":0
}
[查询音量]
{
"address": 1,
"function" : "queryvolume",
"para":1
}
[查询当前 EQ]
{
"address": 1,
"function" : "queryEQ",
"para":1
}
TF 总文件数
{
"address": 1,
"function" : "queryTF",
"para":1
}
查询文件夹曲目总数,查询 01 文件夹的总曲目数
{
"address": 1,
"function" : "queryfolder",
"para":1
}
查询文件夹曲目总数,查询 11 文件夹的总曲目数
{
"address": 1,
"function" : "queryfolder",
"para":11
}