Search found 3 matches

by SteveOfTheStow
Fri Feb 09, 2018 10:08 am
Forum: Documentation
Topic: Documentation Requests/Feedback
Replies: 81
Views: 204447

Re: Document Requests

Is there any written protocol specification for developing an ESP-TOUCH client? The documentation here https://www.espressif.com/en/products/software/esp-touch/resources talks a bit about how it works at a very high level, and the API for the ESP32 and ESP8266, but there's nothing really describing ...
by SteveOfTheStow
Fri Feb 02, 2018 9:59 am
Forum: General Discussion
Topic: OTA -- How to Compute SHA256 of the running firmware?
Replies: 4
Views: 6613

Re: OTA -- How to Compute SHA256 of the running firmware?

I've been looking to do something similar, and tried the esp_partition_read() idea suggested by hassan789. Unfortunately my SHA256 was muddied by the fact that when you do esp_partition_read, you only really have the partition size to go on, meaning you end up reading past the data on the partition ...
by SteveOfTheStow
Fri Jun 16, 2017 4:07 pm
Forum: Report Bugs
Topic: mbedtls sample app fails when using heap allocation
Replies: 0
Views: 3637

mbedtls sample app fails when using heap allocation

Hi, I'm trying to get mbedtls working on my ESP32 but have encountered a strange problem around allocation. When I attempt to allocate the mbedtls_ssl_context struct on the heap rather than the stack, the program subsequently fails to allocate memory for the certificates. I've attached a sample prog...