Search found 13 matches

by toljatyr
Thu Nov 14, 2024 11:50 am
Forum: ESP-IDF
Topic: esp-tls: couldn't get hostname for :example.com: getaddrinfo() returns 202, addrinfo=0x0
Replies: 4
Views: 6754

Re: esp-tls: couldn't get hostname for :example.com: getaddrinfo() returns 202, addrinfo=0x0

I am also facing the same. Error occurred and lasts for some time, but if I restart the MCU it works OK
by toljatyr
Wed Jun 12, 2024 12:28 pm
Forum: General Discussion
Topic: ESP32-dev-kitc MQTT SSL Muthual auth. cannot connect
Replies: 2
Views: 2611

Re: ESP32-dev-kitc MQTT SSL Muthual auth. cannot connect

I just faced similar problem - I managed to connect to MQTT server over SSL using a certificate, but once I tried to achieve the same in my own project, I got error Dynamic Impl: mbedtls_ssl_fetch_input error=80 esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x0050 esp-tls-mbedtls: (FFFFFFB0): UNK...
by toljatyr
Wed Feb 07, 2024 3:42 pm
Forum: ESP-IDF
Topic: Remote crash reason define
Replies: 5
Views: 3684

Re: Remote crash reason define

In fact, the core dump is stored to flash in my case. However, its size is much bigger of the few bytes as it was implemented for esp8266. And on the other hand, I am not sure how to handle the core dump even if I sent it somewhere...
by toljatyr
Wed Jan 03, 2024 2:34 pm
Forum: ESP-IDF
Topic: Remote crash reason define
Replies: 5
Views: 3684

Re: Remote crash reason define

esp_reset_reason()
It can be only a partial solution since it only says whether the MCU was crashed or rebooted normally, but still in a case of crash I do not have an information on the reason of the crash
by toljatyr
Tue Jan 02, 2024 10:27 am
Forum: ESP-IDF
Topic: Remote crash reason define
Replies: 5
Views: 3684

Remote crash reason define

Few years ago while using ESP8266 I used the method system_get_rst_info wich returns struct rstInfo { uint32 reason; uint32 exxccause; uint32 epc1; uint32 epc2; uint32 epc3; uint32 excvaddr; uint32 depc; }; to define the reason of the crash, which was sent to our server for later study. Now, using E...
by toljatyr
Mon Oct 17, 2022 11:32 am
Forum: General Discussion
Topic: How to set the MTU for BLE Nimble
Replies: 1
Views: 3608

Re: How to set the MTU for BLE Nimble

It is not enough to set your local MTU size but the App also has to request an increased MTU size
by toljatyr
Mon Sep 19, 2022 2:21 pm
Forum: ESP32 Arduino
Topic: Saving SSID+passwd after WPS procedure.
Replies: 3
Views: 6296

Re: Saving SSID+passwd after WPS procedure.

or you can use this way: the SSID and password are stored in the config and given to esp_wifi_set_config, after WPS has finished, you can just use the getter function again by calling wifi_config_t config; esp_err_t err = esp_wifi_get_config(WIFI_IF_STA, &config); if (err == ESP_OK) { printf("SSID: ...
by toljatyr
Mon Sep 19, 2022 1:46 pm
Forum: Report Bugs
Topic: WPS not working correctly
Replies: 2
Views: 9891

Re: WPS not working correctly

finally, I found answer to my question. So the SSID and password are stored in the config and given to esp_wifi_set_config, after WPS has finished, you can just use the getter function again by calling wifi_config_t config; esp_err_t err = esp_wifi_get_config(WIFI_IF_STA, &config); if (err == ESP_OK...
by toljatyr
Mon Sep 19, 2022 1:35 pm
Forum: Report Bugs
Topic: WPS not working correctly
Replies: 2
Views: 9891

Re: WPS not working correctly

I also faced the same problem and believe it is not correct behavior. Furthermore, I believe that in order for WPS to be of practical use, it should provide credentials for further connection to the same router, however, the example doesn't provide any. It is said in the code /* * If only one AP cre...
by toljatyr
Wed Jun 01, 2022 10:17 am
Forum: ESP-IDF
Topic: Is it possible to run esp_http_client asynchronously?
Replies: 1
Views: 2084

Is it possible to run esp_http_client asynchronously?

I am trying to implement an HTTP-client, based on esp_http_client component, working in a fully asynchronous mode. As it is said in the documentation To enable non-blocking esp_http_client_perform(), is_async member of esp_http_client_config_t must be set while making a call to esp_http_client_init(...