Files
fastbee/firmware/esp-idf/README.md
2021-07-10 13:14:11 +00:00

17 lines
824 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

##### 一、实现wifi和mqtt功能对接系统的基本示例。
* 修改wifi.c文件中的 SSID和密码连接自己wifi
* 修改mqtt.c文件中的mqtt信息连接自己的mqtt代理服务
##### 二、环境
* 芯片采用ESP32S2基于ESP-IDF v4.2版本开发,其他版本未测试
* [更多文档 >>](https://docs.espressif.com/projects/esp-idf/zh_CN/v4.2/esp32s2/get-started/index.html)
##### 三、项目适配
* wifi.c文件修改wifi的账号和密码
* mqtt.c文件修改mqtt配置信息以及设备编号、用户ID和设备分类ID
##### 四、后端和服务端交互
![图片](https://gitee.com/kerwincui/wumei-smart/raw/master/document/flow.png)
##### 五、[硬件通用接入文档看这里 >>>](https://gitee.com/kerwincui/wumei-smart/wikis/pages?sort_id=4203154&doc_id=1506495)