前提条件 1. 打开产品的动态注册的开关.(不然会报用户名密码错误) 2.下载最新的官网demo.下载地址
https://help.aliyun.com/document_detail/96607.html?spm a2c4g.11186623.6.651.11563e8e60xTd0
这个是配置文件需要修改的,设备相关的参数
?registerType 取值 ?regnwl
MqttConfigure.registerInstanceId iot-060a****
MqttConfigure.mqttHost iot-06*****.mqtt.iothub.aliyuncs.com:1883
以上就是所有的修改点了
本文转自网络,原文链接:https://developer.aliyun.com/article/783648