摘要
实现一种采用MQTT协议、通过安卓/iOS APP对基于开源硬件-WRTnode的移动智能监控设备(如智能设备,机器人等)进行远程控制的方案。采用开源MQTT服务器框架-mosquitto作为MQTT broker,通过APP发布控制指令主题,监控设备订阅该主题并根据控制指令执行操作,监控设备发布需要上报的监控数据主题,APP订阅该主题后将接收到监控数据。通过双向的发布-订阅模式,实现多功能智能监控过程。
The remote control scheme between Android/iOS APP and mobile intelligent monitoring device(such as the smart device,ro- bot) is achieved with MQTT protocol.The open-source MQTT server framework(mosquito) is used as MQTT broker.APP publishes the topic of control instruction.The monitoring device subscribes to the topic and performs the operations according to the control instruc- tions.The monitoring device publishes the topic of the monitoring data that need to report, APP subscribes to the subject and receives monitoring data.Through the two-way publish-subscribe mode,the multi-functional intelligent monitoring process is realized.
出处
《单片机与嵌入式系统应用》
2017年第10期59-61,共3页
Microcontrollers & Embedded Systems
基金
深圳市2016年市创客专项资金个人创客项目(GRCK2016033010181365)
深圳市2015年市创客专项资金学生创客项目(GRCK2015092914140517)
深圳市2016年科技计划基础研究项目(JCYJ2016030710153)