mqtt to UDP protocol forwarding mode control mp3 player pause/continue-Puyang comprehensive fitness centre integrated platform Internet of Things-Mantianxing Xinfa platform interface
As a professional provider of IoT data collection solutions, daq-iot, the data acquisition and IoT editor, will introduce the following content here and sincerely welcome everyone to discuss and communicate.
4.Pause the playback task
Send:MP3 PAUSE;Mobile APP user 01,1234;Task name.
Return:OK,Task Name
5. Resume playback task
SEND:MP3 RESUME;Mobile APP user 01,1234;Task name;RETURN:OK,Task name.
Return:OK,Task name
A
The following task function: the platform modifies the playback status to pause playback or continue playback, mqtt protocol, the corresponding json format is {'play_status':'pause playback'}
{'play_status':'continue to play'}, according to the UDP mode forwarding, control MP3 playback status.
评论
发表评论