Search found 300 matches

by ESP_YJM
Tue Mar 23, 2021 7:19 am
Forum: ESP-IDF 中文讨论版
Topic: 关于UDP 通信中断监听
Replies: 7
Views: 7711

Re: 关于UDP 通信中断监听

CamBoy wrote:
Mon Mar 22, 2021 9:57 am
ESP_YJM wrote:
Mon Mar 22, 2021 6:21 am
UDP 是无连接的传输,无法感知通信是否中断。请问一下您的使用场景是什么?
那有没有什么办法来知道对方通信是否中断了?
比如除了心跳之外的方法。
心跳我们曾尝试过,想知道是否有没有别的方法。
如果靠 UDP 本身协议是无法获知对方通信中断了,只有靠 UDP 上层应用层加处理逻辑判断,类似你说的心跳包。
by ESP_YJM
Tue Mar 23, 2021 7:17 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15616

Re: mbedTLS with dynamic memory [IDFGH-4803]

I am using ESP-IDF master branch whose commit id is 1067b28707e527f177752741e3aa08b5dc64a4d7. You can follow this commit and apply the patch, or merge the patch manually.
by ESP_YJM
Mon Mar 22, 2021 6:53 am
Forum: ESP-IDF 中文讨论版
Topic: udp的发送接收端口如何设置
Replies: 1
Views: 3006

Re: udp的发送接收端口如何设置

详细请参考 udp_client/udp_server 示例(https://github.com/espressif/esp-idf/bl ... ls/sockets)。设置发送接口通过 sendto 发送的地址决定,设置接收端口通过 bind 决定。
by ESP_YJM
Mon Mar 22, 2021 6:44 am
Forum: ESP-IDF 中文讨论版
Topic: ESP8266_RTOS_SDK中没有esp_log_system_timestamp?
Replies: 1
Views: 2817

Re: ESP8266_RTOS_SDK中没有esp_log_system_timestamp?

ESP8266 目前还不支持 esp_log_system_timestamp,你可以先安装 IDF 的写法移植过来。当前 ESP8266 master 版本和 tag v3.4 版本是与 IDF 最接近的版本,可能文档上还需要再完善,但是功能上是向 IDF 靠齐了。
by ESP_YJM
Mon Mar 22, 2021 6:37 am
Forum: ESP-IDF 中文讨论版
Topic: 如何能在不使用HTTP服务器的情况下进行OTA升级
Replies: 1
Views: 3155

Re: 如何能在不使用HTTP服务器的情况下进行OTA升级

使用 HTTP 也只是一种传输方式,最终的目的还是获取到固件。你使用上位机发送也是可以的,接收到固件写入的流程你可以参考 https://github.com/espressif/esp-idf/bl ... _example.c
by ESP_YJM
Mon Mar 22, 2021 6:21 am
Forum: ESP-IDF 中文讨论版
Topic: 关于UDP 通信中断监听
Replies: 7
Views: 7711

Re: 关于UDP 通信中断监听

UDP 是无连接的传输,无法感知通信是否中断。请问一下您的使用场景是什么?
by ESP_YJM
Mon Mar 22, 2021 3:54 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15616

Re: mbedTLS with dynamic memory [IDFGH-4803]

Hi bigfede
Is there any update for this patch.Please spare no effort to tell me what help I can provide.
by ESP_YJM
Tue Mar 16, 2021 6:56 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15616

Re: mbedTLS with dynamic memory [IDFGH-4803]

bigfede wrote:
Mon Mar 15, 2021 1:58 pm
yuanjianmin wrote:
Mon Mar 15, 2021 9:59 am
Could you please try this patch to confirm your issue whether has been fixed.
Can you please provide the SHA commit of mbedtls?
My mbedtls commit id is after bf513b6f, only change the mbedtls/port/dynamic directory.
by ESP_YJM
Mon Mar 15, 2021 9:59 am
Forum: ESP-IDF
Topic: mbedTLS with dynamic memory [IDFGH-4803]
Replies: 19
Views: 15616

Re: mbedTLS with dynamic memory [IDFGH-4803]

Could you please try this patch to confirm your issue whether has been fixed.
by ESP_YJM
Fri Feb 26, 2021 10:33 am
Forum: ESP-IDF 中文讨论版
Topic: esp_prov custom_data错误
Replies: 4
Views: 4891

Re: esp_prov custom_data错误

请使用最新的 idf esp_prov脚本和对应的examples/provisioning/wifi_prov_mgr测试custom_data,我测试了 ok。