Search found 300 matches

by ESP_YJM
Thu Jan 12, 2023 12:37 pm
Forum: ESP-IDF
Topic: How to use MQTT with SSL/TLS without using a certificate
Replies: 5
Views: 5792

Re: How to use MQTT with SSL/TLS without using a certificate

No, not support configure it in runtime. But if you want to check the server CA certificate, you could input a trusted CA pem in your MQTT config. When you input a CA pem, it will use the CA pem to check the server when TLS handshake, no matter you enable the config CONFIG_ESP_TLS_SKIP_SERVER_CERT_V...
by ESP_YJM
Thu Jan 12, 2023 9:37 am
Forum: ESP-IDF
Topic: Configure the client port in esp_http_client request?
Replies: 3
Views: 1732

Re: Configure the client port in esp_http_client request?

Sorry that esp_http_client not support set source port. The source port is a random value from 49152 to 65535.
by ESP_YJM
Wed Jan 11, 2023 12:40 pm
Forum: ESP-IDF
Topic: How to use MQTT with SSL/TLS without using a certificate
Replies: 5
Views: 5792

Re: How to use MQTT with SSL/TLS without using a certificate

You can keep the mqtt config code and only enable CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY by idf.py menuconfig(Components config->ESP-TLS->[*]Allow potentially insecure options->[*] Skip server ...)
by ESP_YJM
Wed Jan 11, 2023 11:12 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-S3 HTTPS esp_mbedtls_handshake握手平均耗时3s以上
Replies: 6
Views: 3085

Re: ESP32-S3 HTTPS esp_mbedtls_handshake握手平均耗时3s以上

能否提供下你的 sdkconfig 以及打开 mbedtls debug 查看下 mbedtls 握手所使用的套件。
by ESP_YJM
Thu Jan 05, 2023 2:40 am
Forum: ESP-IDF
Topic: Stability MQTT
Replies: 8
Views: 4578

Re: Stability MQTT

CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is disabled as default and will not affect other parts of ESP-IDF. Could you please share more details about the issue when you disable CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM.
by ESP_YJM
Wed Jan 04, 2023 3:00 am
Forum: ESP-IDF
Topic: How to send data over Wifi in soft Ap and station mode in ESp IDF
Replies: 7
Views: 6817

Re: How to send data over Wifi in soft Ap and station mode in ESp IDF

It has the default softap ip 192.168.4.1.
by ESP_YJM
Mon Dec 26, 2022 6:55 am
Forum: 《ESP32-C3 物联网工程开发实战》书籍讨论版
Topic: 目前新出的idf5.0适用这本书吗?
Replies: 4
Views: 32587

Re: 目前新出的idf5.0适用这本书吗?

这本书的代码目前不适合使用 IDF 5.0 进行编译,建议使用书中推荐的版本,如果需要使用 IDF 5.0,会有很多编译问题需要解决。
by ESP_YJM
Mon Dec 26, 2022 2:18 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 6879

Re: esp-tls: Failed to connnect to host (errno 113)

From your log, it seems the max SYN retries reached and peer no response. You need check whether the packet sent out from WIFI, it need capture air packet or route packet.
by ESP_YJM
Fri Dec 23, 2022 8:05 am
Forum: ESP-IDF
Topic: esp-tls: Failed to connnect to host (errno 113)
Replies: 11
Views: 6879

Re: esp-tls: Failed to connnect to host (errno 113)

It seems your log not print any lwip log, you may need clean your build project and re-build. For DNS debug open, you may modify the clode https://github.com/espressif/esp-lwip/b ... pt.h#L3533. Change LWIP_DBG_OFF to LWIP_DBG_ON.