Search found 7 matches
- Mon May 15, 2023 12:56 pm
- Forum: ESP-IDF
- Topic: Having major problems with my own handlers for my libraries
- Replies: 3
- Views: 1489
Re: Having major problems with my own handlers for my libraries
Possibly due to sensor_internal_i2c being a stack variable. Do you delete app_main's task, or does sensor_internal_i2c go out of scope? Hi, thanks for the response. I tried allocating memory fo the snesor_internal_i2c and the same problem arises. I do belive it means I'm out of scope but can't real...
- Mon May 15, 2023 9:55 am
- Forum: ESP-IDF
- Topic: Having major problems with my own handlers for my libraries
- Replies: 3
- Views: 1489
Having major problems with my own handlers for my libraries
-----------------EDIT----------------- SOLVED! The names of the functions was the problem. the compiler thought they were read and write from unistd :) _READ_WRITE_RETURN_TYPE read (int __fd, void *__buf, size_t __nbyte); _READ_WRITE_RETURN_TYPE write (int __fd, const void *__buf, size_t __nbyte); ...
- Wed Jul 27, 2022 11:25 am
- Forum: ESP-IDF
- Topic: Support of TLS V1.3?
- Replies: 9
- Views: 9807
Re: Support of TLS V1.3?
Hi,
Couldn't you just use components?
Couldn't you just use components?
- Wed Nov 10, 2021 12:00 pm
- Forum: ESP-IDF
- Topic: Is the OTA binary file size calculation wrong !?
- Replies: 8
- Views: 6398
Re: Is the OTA binary file size calculation wrong !?
I would suggest to use API `esp_https_ota_get_image_size` https://github.com/espressif/esp-idf/blob/master/components/esp_https_ota/include/esp_https_ota.h#L205-L218 instead. Since your logs shows that server is not sending data in chunked encoded fashion, this API shall directly return value from ...
- Wed Nov 10, 2021 11:57 am
- Forum: ESP-IDF
- Topic: Is the OTA binary file size calculation wrong !?
- Replies: 8
- Views: 6398
Re: Is the OTA binary file size calculation wrong !?
Hi, I tried running advanced_https_ota example on IDF master (v5.0-dev-258-gf8f49de735) and did not see any difference in value of written image length and content length. Please see debug logs below: D (35048) esp_https_ota: Written image length 145656 D (35058) advanced_https_ota_example: Image b...
- Tue Nov 09, 2021 8:38 am
- Forum: ESP-IDF
- Topic: Is the OTA binary file size calculation wrong !?
- Replies: 8
- Views: 6398
Re: Is the OTA binary file size calculation wrong !?
Hello, Can you please try "advanced_https_ota" example once? Please see code along the lines of https://github.com/espressif/esp-idf/blob/master/examples/system/ota/advanced_https_ota/main/advanced_https_ota_example.c#L143-L150 Additionally, enabling debug logs could also help here. Please see http...
- Fri Nov 05, 2021 11:39 am
- Forum: ESP-IDF
- Topic: Is the OTA binary file size calculation wrong !?
- Replies: 8
- Views: 6398
Is the OTA binary file size calculation wrong !?
---- EDIT ---- This is corrected in the latest version it was a problem with OpenSSl ---- EDIT ---- Hi, for the the project i'm working on i need to be able to calculate the MD5 of a binary downloaded using the ESP-IDF OTA library and i've encountered a problem. To do this i need to know the size of...