we are using flash encryption and want to set some device specific variables in NVS flash during manufacturing (Serial No, Crypto Keys etc.).
What is the best way to generate an encrypted flash image containing these variables?
Is there a tool I can use?
We have our code on Gitlab.com and use Gitlab CI for building artifacts. I have installed a Gitlab CI runner on a virtual machine that will do the compiling. The artifacts are uploaded to an S3-compatible BLOB-Store. Using the OTA functionality the esp32 downloads the firmware images to its second p...
You could extend the esp-idf mdns component by a caching feature. So if desired the component would listen on all mDNS broadcasts and caches the information.
Usually you use something like the avahi daemon, which caches mDNS announcements and returns the IP of the requested device from its cache.
So that would be quite fast.
The mdns component from the esp-idf SDK is missing a lot to be RFC 6762 compliant. E.g. different query types or probing and announcing as described in section 8: https://tools.ietf.org/html/rfc6762#section-8 Probably it would be best to port Apple's mDNSResponder to ESP32: https://opensource.apple....
Oh, I found my mistake: esp_restart() does three calls: esp_wifi_stop(); vTaskSuspendAll(); esp_restart_noos(); My application breaks during esp_wifi_stop() The reason is when I receive a SYSTEM_EVENT_STA_DISCONNECTED event I kill my OTA task. But the OTA task is responsible for executing the esp_re...