Search found 17 matches

by campestring
Wed Mar 16, 2022 7:49 am
Forum: ESP-IDF
Topic: esp_tls_conn_read bad data
Replies: 2
Views: 3923

Re: esp_tls_conn_read bad data

Thank you I solved the problem, the problem came from the server not the ESP32. Have a good day !
by campestring
Thu Feb 17, 2022 2:59 pm
Forum: ESP-IDF
Topic: mqtt take time to reconnect
Replies: 0
Views: 861

mqtt take time to reconnect

Hello everyon, I have a project where I am able to configure my esp32 with an access point and the wifi is connected to internet at the same time when I want to stop the wifi and restart it, Reconnection to mqtt take a long time. I need to wait an error transport connect to be able to reconnect to t...
by campestring
Wed Jan 26, 2022 7:15 am
Forum: ESP-IDF
Topic: esp_tls_conn_read bad data
Replies: 2
Views: 3923

esp_tls_conn_read bad data

Hello everyone, I have trouble with https request, I have bad data sometimes between buffer read. len = sizeof(buf) - 1; memset(buf, 0, sizeof(buf)); ret = esp_tls_conn_read(tls, (char *)buf, len); I am trying to received a binary file for ota. but sometimes ret < len and I have bad data the next re...
by campestring
Fri May 14, 2021 1:25 pm
Forum: ESP-IDF
Topic: remove file doesn"t free space
Replies: 2
Views: 2271

Re: remove file doesn"t free space

here is the code where I delete the file : int del = remove(g_day_stamp_comparaison); if (!del) { ESP_LOGI(tag, "oldest file has been deleted sucessfully"); } and here is where I check the free space : static void storageModule_get_fatfs_usage(size_t *out_total_bytes, size_t *out_free_bytes) { FATFS...
by campestring
Fri May 14, 2021 12:50 pm
Forum: ESP-IDF
Topic: remove file doesn"t free space
Replies: 2
Views: 2271

remove file doesn"t free space

Hello, I am trying to delete a file with remove function. The file is successfully deleted but the free space of my storage doesn't change… Any ideas ?
Thanks
by campestring
Tue May 11, 2021 3:16 pm
Forum: ESP-IDF
Topic: AP_STA mode
Replies: 1
Views: 1458

AP_STA mode

Hello, Is it possible to configure esp as AP_STA mode to configure the wifi ssid and password of the station with the accesspoint ? For example use a web server to configure the wifi ssid and password in access point than connect to the wifi with these informations without close the communication wi...
by campestring
Wed Apr 07, 2021 1:06 pm
Forum: ESP-IDF
Topic: Local web server
Replies: 1
Views: 2117

Local web server

hello, is it possible to set up a local web server, for example is it possible to change the rest_server example to have an access point from the esp32 and connect to the server with the computer without internet connection.
thank you !
by campestring
Mon Mar 15, 2021 2:35 pm
Forum: ESP-IDF
Topic: Captive portal with wifi connection at the same time
Replies: 1
Views: 1776

Captive portal with wifi connection at the same time

Hello,
Is it possible to be connected to the esp32 throug a captive portal and at the same time the esp32 is connected to a wifi network ?
thank you
by campestring
Thu Jan 21, 2021 12:44 pm
Forum: ESP-IDF
Topic: Read file from an external flash after a reset
Replies: 2
Views: 2651

Re: Read file from an external flash after a reset

Thank you for your quick answer the problem is I will reset my system at any time… So this function will not Always be called. I would like at a reset to re-establish the communication between esp32 and SPI flash without reseting the storage…
Best regards,
by campestring
Thu Jan 21, 2021 10:55 am
Forum: ESP-IDF
Topic: Read file from an external flash after a reset
Replies: 2
Views: 2651

Read file from an external flash after a reset

Hello everyone, I am using the example ext_flash in esp-idf but I Don't know how to do this : reset my board and read file written before I have reset the board because in my case it reinitialize the flash each time I reset. I have tryed to separate instructions but Nothing is working for now… Thank...