在升级esp-idf到v5.1.1之前,用的是v5.0版本对rainmaker进行编译,能正常运行起来,也能在App上正常添加。
但是升级到v5.1.1之后,再进行编译下载运行之后,出现了以下报错:
E (677718) Dynamic Impl: mbedtls_ssl_fetch_input error=76
E (677718) esp-tls-mbedtls: read error :-0x004C:
E (677718) transport_base: esp_tls_conn_read error, errno=Socket is not connected
E ...
Search found 8 matches
- Mon Sep 11, 2023 2:21 am
- Forum: ESP-IDF 中文讨论版
- Topic: 关于esp-idf v5.1.1 编译下载esp-rainmaker的example的问题
- Replies: 0
- Views: 2071
- Sun Apr 24, 2022 3:10 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32S2 / ESP32 关于HTTP SERVER的问题
- Replies: 1
- Views: 2605
ESP32S2 / ESP32 关于HTTP SERVER的问题
开发环境:VSCode + Platformio + Arduino
硬件平台:ESP32S2 / ESP32 - S
PIO 平台 Espressif 32版本:V4.1.0
Platformio PACKAGES:
- framework-arduinoespressif32 3.20001.0 (2.0.1)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkfatfs 2.0.1
- tool-mklittlefs 1.203.210628 (2.3)
- tool-mkspiffs 2.230.0 (2.30 ...
硬件平台:ESP32S2 / ESP32 - S
PIO 平台 Espressif 32版本:V4.1.0
Platformio PACKAGES:
- framework-arduinoespressif32 3.20001.0 (2.0.1)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkfatfs 2.0.1
- tool-mklittlefs 1.203.210628 (2.3)
- tool-mkspiffs 2.230.0 (2.30 ...
- Tue Oct 19, 2021 12:27 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32-DevKitC搭配ESP32-WROOM-32E模组这款开发板,用adc1读数时总会有抖动,宽度用的12位,读取0.11v电压时,值在0-600之间,这种情况应该怎样避免啊,我是新手,劳烦予以指点啊,谢谢
- Replies: 1
- Views: 3179
Re: ESP32-DevKitC搭配ESP32-WROOM-32E模组这款开发板,用adc1读数时总会有抖动,宽度用的12位,读取0.11v电压时,值在0-600之间,这种情况应该怎样避免啊,我是新手,劳烦予以指点啊,谢谢
抖动肯定会有的,抖动是系统问题,需要加滤波算法进行解决,我最近也要到了ADc,都是用滤波算法来解决,比如低通滤波,移动平均等来消除系统噪声
- Fri Sep 24, 2021 8:38 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32C3 WIFI 问题
- Replies: 5
- Views: 14080
Re: ESP32C3 WIFI 问题
我用ESP32-C3-DevKitM-1 V1.0的demo板去测试同样Arduino的程序,获取到的power依然是100,但是DevkitM板在power是100的情况下在AP或STA模式都能正常工作,无需设置指定Power值,但是我自研的板子必须设置才能使用。
后来我在VSCode中打开softAP官方的示例进行测试,结果获取到的power值依然是100,也找了 https://www.espressif.com/sites/default/files/documentation/esp32_phy_init_bin_parameter_configuration_guide_cn ...
后来我在VSCode中打开softAP官方的示例进行测试,结果获取到的power值依然是100,也找了 https://www.espressif.com/sites/default/files/documentation/esp32_phy_init_bin_parameter_configuration_guide_cn ...
- Thu Sep 23, 2021 12:37 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32C3 WIFI 问题
- Replies: 5
- Views: 14080
Re: ESP32C3 WIFI 问题
最后自己找到的问题之所在,倒腾了好久,发现wifi发射的Power值超出了要求的设定值,获取到默认值是100,而要求设定tx_power是在84以内。
最后通过esp_wifi_set_max_tx_power函数设定20,即5dBm的功率为发送频率,wifi就正常连接和通信,不知道这个是不是bug?
在
https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t ...
最后通过esp_wifi_set_max_tx_power函数设定20,即5dBm的功率为发送频率,wifi就正常连接和通信,不知道这个是不是bug?
在
https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_max_tx_power6int8_t ...
- Tue Sep 21, 2021 2:00 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32C3 WIFI 问题
- Replies: 5
- Views: 14080
ESP32C3 WIFI 问题
开发环境:VSCode + Platformio + Arduino
硬件平台:ESP32C3
ESP-IDF版本:V4.1.2
Platformio PACKAGES:
- framework-arduinoespressif32 3.10006.210326 (1.0.6)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-riscv-esp 1.80400.0 (8.4.0)
|-- <WiFi> 2.0.0
>> Wifi STA模式 ...
硬件平台:ESP32C3
ESP-IDF版本:V4.1.2
Platformio PACKAGES:
- framework-arduinoespressif32 3.10006.210326 (1.0.6)
- tool-esptoolpy 1.30100.210531 (3.1.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-riscv-esp 1.80400.0 (8.4.0)
|-- <WiFi> 2.0.0
>> Wifi STA模式 ...
- Mon Aug 23, 2021 11:40 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32C3 BLE 问题
- Replies: 4
- Views: 8117
Re: ESP32C3 BLE 问题
确实是这个问题,换了一个电流大一点,电压稳定的电源作为输入,这个错误就没有,但是后来又碰见了另外一个rst的错误:
rst:0x13 (GLITCH_RTC_RST) --> 毛刺自启动
在论坛里(https://esp32.com/viewtopic.php?f=25&t=21460)找到了解决方案,采用了
#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"
在main函数内增加
REG_SET_FIELD(RTC_CNTL_FIB_SEL_REG, RTC_CNTL_FIB_SEL, RTC_CNTL_FIB_SUPER_WDT ...
rst:0x13 (GLITCH_RTC_RST) --> 毛刺自启动
在论坛里(https://esp32.com/viewtopic.php?f=25&t=21460)找到了解决方案,采用了
#include "soc/soc.h"
#include "soc/rtc_cntl_reg.h"
在main函数内增加
REG_SET_FIELD(RTC_CNTL_FIB_SEL_REG, RTC_CNTL_FIB_SEL, RTC_CNTL_FIB_SUPER_WDT ...
- Sun Aug 22, 2021 7:56 am
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32C3 BLE 问题
- Replies: 4
- Views: 8117
ESP32C3 BLE 问题
开发环境:VSCode + Platformio + Arduino
硬件平台:ESP32C3
ESP-IDF版本:V4.1.2
Platformio PACKAGES:
- tool-esptoolpy 1.30100.210531 (3.1.0)
- toolchain-riscv-esp 1.80400.0 (8.4.0)
由于项目要求,以ESP32C3为平台的自研电路板,现在碰见一个比较棘手的问题无法解决。当加载BLE时,烧录后就不断重启,如果不加载BLE,只进行控制,如PWM,ADc,GPIO之类的都是ok的。网上找寻了很多信息,依然没解决问题,请高手指点 ...
硬件平台:ESP32C3
ESP-IDF版本:V4.1.2
Platformio PACKAGES:
- tool-esptoolpy 1.30100.210531 (3.1.0)
- toolchain-riscv-esp 1.80400.0 (8.4.0)
由于项目要求,以ESP32C3为平台的自研电路板,现在碰见一个比较棘手的问题无法解决。当加载BLE时,烧录后就不断重启,如果不加载BLE,只进行控制,如PWM,ADc,GPIO之类的都是ok的。网上找寻了很多信息,依然没解决问题,请高手指点 ...