Search found 300 matches

by ESP_YJM
Thu May 06, 2021 2:54 am
Forum: ESP-IDF
Topic: ESP-TLS (mbedTLS) connection to IMAPS socket stuck in init state.
Replies: 4
Views: 3489

Re: ESP-TLS (mbedTLS) connection to IMAPS socket stuck in init state.

It is not recommend that use esp-tls component directly. You can use tcp_transport component API to create TCP/TLS connection which like esp_http_client component logic.
by ESP_YJM
Thu May 06, 2021 2:40 am
Forum: ESP-IDF
Topic: WiFi + Provision working simultaneously
Replies: 13
Views: 13671

Re: WiFi + Provision working simultaneously

In short, remember that if the wifi is already connected, calling esp_wifi_connect() will not reconnect.
by ESP_YJM
Fri Apr 30, 2021 2:16 am
Forum: ESP-IDF
Topic: Is MQTT payload encrypted?
Replies: 1
Views: 1856

Re: Is MQTT payload encrypted?

Yes, we supporrt mqtts. It will encrypt mqtt packet.
by ESP_YJM
Thu Apr 29, 2021 10:16 am
Forum: ESP-IDF
Topic: WiFi + Provision working simultaneously
Replies: 13
Views: 13671

Re: WiFi + Provision working simultaneously

You can remove esp_wifi_disconnect() in function wifi_prov_mgr_start_provisioning() and add esp_wifi_disconnect() in function wifi_connect_timer_cb(),before the esp_wifi_connect().
by ESP_YJM
Sun Apr 25, 2021 2:28 am
Forum: ESP-IDF
Topic: COAP "POST" Example code
Replies: 1
Views: 2724

Re: COAP "POST" Example code

You can change code from COAP_REQUEST_GET to COAP_REQUEST_POST. https://github.com/espressif/esp-idf/bl ... ain.c#L134
by ESP_YJM
Tue Mar 30, 2021 7:50 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15650

Re: mbedTLS with dynamic memory [IDFGH-4803]

Okay, could you offer the sdkconfig and the *.elf,which i can disassembled the code.
by ESP_YJM
Tue Mar 30, 2021 6:42 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15650

Re: mbedTLS with dynamic memory [IDFGH-4803]

Could you please offer your project code and reproduce step for me and i can reproduce it on my own environment. Could you please also offer the sdkconfig file and the *.elf file corresponding to your crash.
by ESP_YJM
Wed Mar 24, 2021 7:28 am
Forum: ESP-IDF 中文讨论版
Topic: 关于UDP 通信中断监听
Replies: 7
Views: 7731

Re: 关于UDP 通信中断监听

很抱歉没有,基于 UDP 之上实现的心跳并不是标准的协议,每个用户可以自行设计,所以我们没有这个参考资料。而且一般对于这种使用场景,我们会优先考虑已有的 TCP 协议。
by ESP_YJM
Tue Mar 23, 2021 10:50 am
Forum: ESP-IDF 中文讨论版
Topic: 关于UDP 通信中断监听
Replies: 7
Views: 7731

Re: 关于UDP 通信中断监听

我感觉心跳包是最简单的,一问一答,如果不回答,就认为断开连接了。主要就是发数据给对端,对端不回就认为断开连接了。