发布和订阅ESP8266的消息 [英] Publish and subscribe messages for ESP8266

查看:91
本文介绍了发布和订阅ESP8266的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已成功将我的ESP8266连接到Azure云服务器上,但无法将设备上的消息发送到云或云到设备。我收到有关在串行监视器上成功连接MQTT的消息。但设备未在Azure Portal
仪表板上显示已连接状态。我已上传                              需要帮助解决这些问题。

I have successfully connected my ESP8266 on Azure cloud server, but can not send message from device to cloud or cloud to device. I got message about successfully connected MQTT on serial monitor. But device does not show connected status on Azure Portal dashboard. I have uploaded  Baltimore Cyber Trust Root Certificate, but could not verify it. Need help with these issues.

推荐答案

您好Ashwal Patel,

Hello Ashwal Patel,


$
是完整的教程将ESP8266连接到Azure IoT Hub,您可以参考。您可以直接使用官方样品。我建议您使用这些示例进行入门。

There is a complete tutorial of connecting ESP8266 to Azure IoT Hub you can refer to. There are official samples you can directly to use. I suggest you to use those samples for getting started.

由于您的问题与Azure IoT相关,但此论坛用于讨论在各种运行的Windows版本上的应用程序和驱动程序开发Raspberry Pi 2和MinnowBoard MAX等开发板用于开发智能互联设备和
物联网解决方案。所以我将把它移到Azure IoT Hub论坛以获得更专业的支持。

Since your issue is Azure IoT related but this forum is for discussions of apps and driver development on versions of Windows that run on a variety of development boards like Raspberry Pi 2 and MinnowBoard MAX for developing smart, connected devices and IoT solutions. So I'll move it to Azure IoT Hub forum for more professional support.

祝你好运,

丽塔


这篇关于发布和订阅ESP8266的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆