Search found 300 matches
- Fri Jun 11, 2021 12:18 pm
- Forum: ESP-IDF 中文讨论版
- Topic: Ymodem协议应用
- Replies: 1
- Views: 3002
Re: Ymodem协议应用
Xmodem 和 Ymodem 其实协议是一样的, Ymodem 会比 Xmodem 多一个 File name 发送和结尾的差异,如果要使用 Ymodem,配置上是一样的,只是多一个文件交互流程,示例中 xmodem_sender 里只需打开 CONFIG_SUPPORT_FILE 即可。
- Thu Jun 10, 2021 12:07 pm
- Forum: ESP Cloud 中文讨论版
- Topic: 移植阿里云esp32 C_SDK 出现的问题idf4.4
- Replies: 5
- Views: 55050
Re: 移植阿里云esp32 C_SDK 出现的问题idf4.4
建议先按照官方提供的版本进行移植,保证官方的方法是有效的。如果还是不行,可以提交代码至github或者 gitee,我们帮忙分析。
- Thu Jun 10, 2021 11:57 am
- Forum: ESP Cloud 中文讨论版
- Topic: esp-aliyun sdk compile error
- Replies: 1
- Views: 48499
Re: esp-aliyun sdk compile error
Could you please execute "echo $IDF_PATH" to check your SDK PATH is ESP8266 or ESP-IDF.
- Wed Jun 09, 2021 4:58 am
- Forum: ESP-IDF 中文讨论版
- Topic: 长时间对同一个地址进行https请求导致的两个问题
- Replies: 2
- Views: 3591
Re: 长时间对同一个地址进行https请求导致的两个问题
1. 对于问题1看门狗触发,你可以增大看门狗复位时间,具体细节可以参考 https://docs.espressif.com/projects/esp ... #watchdogs
2. 对于第二点你可以抓包看一下域名解析(dns)这块,是否 dns 解析失败,或者解析的时候用的缓存已经过期,导致访问的 IP 不可达。
附件的 log 太大了,建议只要抓取针对性的 log。另外请告知你使用的 IDF 分支以及 commit id。
2. 对于第二点你可以抓包看一下域名解析(dns)这块,是否 dns 解析失败,或者解析的时候用的缓存已经过期,导致访问的 IP 不可达。
附件的 log 太大了,建议只要抓取针对性的 log。另外请告知你使用的 IDF 分支以及 commit id。
- Mon Jun 07, 2021 3:59 am
- Forum: ESP-IDF
- Topic: debuging http_client and LWIP
- Replies: 2
- Views: 3013
Re: debuging http_client and LWIP
ZZZ means the data size in you WND. ZZZ = MAX WND( in your config is 44200) - current WND.
- Mon Jun 07, 2021 3:11 am
- Forum: ESP-IDF 中文讨论版
- Topic: esp32 接收1M以上数据处理方式?
- Replies: 1
- Views: 3053
Re: esp32 接收1M以上数据处理方式?
分包读取,然后应用层组包。
- Mon Jun 07, 2021 2:59 am
- Forum: ESP-IDF 中文讨论版
- Topic: MQTT客户端栈大小分配过大而导致无法初始化
- Replies: 1
- Views: 3536
Re: MQTT客户端栈大小分配过大而导致无法初始化
Task 栈大小取决你剩余内存的大小,你配置的 114 K 大小栈太大了,内存不够。另外你 MQTT 栈可以不用这么大,你接收数据的不要用数组,数组占用 Task 栈空间,你可以 malloc 一段空间,这个属于堆,不占用 Task 栈空间。
- Fri May 07, 2021 3:12 am
- Forum: ESP-IDF
- Topic: ESP HTTPS Server Leaks Memory
- Replies: 7
- Views: 8316
Re: ESP HTTPS Server Leaks Memory
Could you please modify code as follow to test. First need enable SO_LINGER function(idf.py menuconfig->component config->lwip->Enable SO_LINGER processing). This void onClose(httpd_handle_t hd, int sockfd) { esp_tls_t *tls = httpd_sess_get_transport_ctx(hd, sockfd); esp_tls_conn_delete(tls); struct...
- Thu May 06, 2021 3:17 am
- Forum: ESP-IDF
- Topic: PPPos example (SIM800L)
- Replies: 1
- Views: 2928
Re: PPPos example (SIM800L)
Could you please open the PPP debug by idf.menuconfig->Component config->LWIP->Enable PPP debug log output and share your log.
- Thu May 06, 2021 3:12 am
- Forum: ESP-IDF
- Topic: ESP HTTPS Server Leaks Memory
- Replies: 7
- Views: 8316
Re: ESP HTTPS Server Leaks Memory
I think it is a normal issue. Although the socket is closed by the server, and server only close TX and wait client send FIN to server. If client not send FIN to server, the socket in server will enter TIME_WAIT state, this socket allocated memory will not be freed immediately until the function tcp...