当前位置:网站首页>Hongmeng hardware hi3861-mqtt - connected to huaweiyun

Hongmeng hardware hi3861-mqtt - connected to huaweiyun

2020-12-06 22:03:53 Kawai meow

1. Huawei cloud configuration

Huawei cloud configuration is very simple , There are official documents , I won't talk about it here .

Official documents :https://support.huaweicloud.com/qs-iothub/iot_05_0006.html

After creating, please add a new one in the product topic


 

And then get the following information

 

 

 

2. transplant MQTT

In the use of MQTT front , Please read my last article : Hongmeng hardware HI3861- Connect WIFI

https://blog.csdn.net/qq_33259323/article/details/109511005

Connection required WIFI Use only after success MQTT

Reference documents :https://bbs.elecfans.com/jishu_2004598_1_1.html

Make sure your project is compiled successfully before porting

Click this link to download the transplanted PahoMqtt( Don't get free points ): link :https://pan.baidu.com/s/1ohH-kCYjiIOa-PkOxzuyEQ  Extraction code :gddy 

Click this link to download the transplanted PahoMqtt( Don't get free points ):https://download.csdn.net/download/qq_33259323/13092141, And then put pahomqtt Put the folder in third_party Below directory

open vendor\hisi\hi3861\hi3861\BUILD.gn file , stay lite_component("sdk") add       "//third_party/pahomqtt:pahomqtt_static"

Then compile it to see if it works

 

 

Specific please see https://developer.huawei.com/consumer/cn/forum/topic/0204415986126870464

版权声明
本文为[Kawai meow]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201206220101227a.html