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.

评论

此博客中的热门博文

DAQ-IOT Modbus RTU RS485 Split Core Current Transformer CT AC Analog Signal Coil Sensor DC 12V 5A DC Current Transformer Power On or Off Status Monitoring

DAQ-IOT 4G NB-IOT LoRa WiFi CT Electrification Undamage Installation Wireless Micropower Consumption Current Temperature Measurement Acquisition Terminal

DAQ-IOT 4G / WiFi/RS485/LoRa/NB AC/DC 12V Power Supply Dustproof and Breathable Carbon Dioxide Measurement Wireless CO2 Sensor