esp32-C3

fst202130609
Posts: 171
Joined: Thu Sep 23, 2021 10:03 am

esp32-C3

Postby fst202130609 » Thu Sep 23, 2021 10:10 am

刚开始接触ESP32-C3,如何连接阿里云??在终端运行idf.py menuconfig之后,如何配置WiFi的名称、密码???

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: esp32-C3

Postby ESP_ICY » Fri Sep 24, 2021 2:26 am

如果是运行 WiFi 相关的 example,在 menuconfig里是会有 example connection cofiguration 这一配置项的,里面可以配置连接名称和密码,具体的 WiFi 配置可以查看 idf 编程指南里的 WiFi 配置部分 https://docs.espressif.com/projects/esp ... ml#station 和阿里云对接的操作在官方的github仓库里有不少应用阿里云的例子,比如https://github.com/espressif/esp-aliyun

fst202130609
Posts: 171
Joined: Thu Sep 23, 2021 10:03 am

Re: esp32-C3

Postby fst202130609 » Thu Sep 30, 2021 3:31 am

请问如何运用https://github.com/espressif/esp-aliyun的例程??我设置好WiFi之后,阿里云的4个参数(ProductKey、DeviceName、DeviceSecret、ProductSecret)在代码里没看到怎么配置??

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp32-C3

Postby ESP_YJM » Sat Oct 09, 2021 9:12 am

阿里云的 4个参数是通过 nvs_partition_gen.py 生成固件烧录到指定位置,对应 https://github.com/espressif/esp-aliyun 里 README 有介绍。

Who is online

Users browsing this forum: No registered users and 59 guests