Search found 9 matches

by TobiasUhmann
Fri Jun 07, 2024 8:50 am
Forum: General Discussion
Topic: HTTP vs. Custom TCP Protocol for Querying Device via Wi-Fi
Replies: 2
Views: 825

Re: HTTP vs. Custom TCP Protocol for Querying Device via Wi-Fi

Thanks for your impression. Unfortunately, we cannot consider the test code as throw-away software. But if there's no obvious solution I'm missing, I will start out with the HTTP approach, due to the simplicity of encrypting the traffic.
by TobiasUhmann
Thu Jun 06, 2024 4:16 pm
Forum: General Discussion
Topic: HTTP vs. Custom TCP Protocol for Querying Device via Wi-Fi
Replies: 2
Views: 825

HTTP vs. Custom TCP Protocol for Querying Device via Wi-Fi

Hi there, in our current project, we need a way to test our hardware after it has been built and sealed. Tests include toggling LEDs, querying microphones and motion sensors, etc. The sealed device cannot communicate via cable and we cannot remove the test code after the device has been sealed. We w...
by TobiasUhmann
Wed Apr 24, 2024 3:18 pm
Forum: ESP-IDF
Topic: How to handle file system on factory reset
Replies: 1
Views: 630

How to handle file system on factory reset

Hi there, in our project, we use the HTTP OTA library (with three partitions: factory, ota_1, ota2) to implement an update mechanism, as well as a factory reset mechanism that resets the code to the factory partition. Also, we have a FAT file system that is not yet touched by the factory reset - tha...
by TobiasUhmann
Wed Apr 17, 2024 11:52 am
Forum: ESP-IDF
Topic: HTTP Client: What happens if the server response is too large?
Replies: 7
Views: 2088

Re: HTTP Client: What happens if the server response is too large?

Ok.. once again, after having searched a while, I find the obvious answer just after having written the post here. Hoping that it might nonetheless spare someone else some time, I do not delete my question and post the simple answer: The esp_http_client_config_t has a buffer_size attribute (that def...
by TobiasUhmann
Wed Apr 17, 2024 11:41 am
Forum: ESP-IDF
Topic: HTTP Client: What happens if the server response is too large?
Replies: 7
Views: 2088

HTTP Client: What happens if the server response is too large?

Hi there, I am using the HTTP client to do HTTP requests. One request should return a JSON that might be multiple megabytes large. I want to handle the case that it is larger than the available RAM. How do I do that properly? The HTTP client docs (https://docs.espressif.com/projects/esp-idf/en/stabl...
by TobiasUhmann
Thu Apr 11, 2024 8:36 am
Forum: ESP-IDF
Topic: Wi-Fi Prov API: Use Wi-Fi in custom endpoint possible?
Replies: 1
Views: 1728

Re: Wi-Fi Prov API: Use Wi-Fi in custom endpoint possible?

I think I finally found the solution. wifi_prov_mgr_disable_auto_stop() seems to support what I'm looking for: Disable auto stopping of provisioning service upon completion. By default, once provisioning is complete, the provisioning service is automatically stopped, and all endpoints (along with th...
by TobiasUhmann
Thu Apr 04, 2024 11:54 am
Forum: ESP-IDF
Topic: Wi-Fi Prov API: Use Wi-Fi in custom endpoint possible?
Replies: 1
Views: 1728

Wi-Fi Prov API: Use Wi-Fi in custom endpoint possible?

I am using the Wi-Fi provisioning API, including a custom endpoint, to provision Wi-Fi credentials and the address of a cloud service my device shall connect to. I would like to verify that the device can connect to the cloud service before the provision service finishes and store the whole config (...
by TobiasUhmann
Tue Nov 28, 2023 7:48 am
Forum: ESP-WHO
Topic: Change ONNX model at runtime
Replies: 2
Views: 45583

Re: Change ONNX model at runtime

Thanks a lot for the confirmation.
by TobiasUhmann
Mon Nov 27, 2023 10:12 am
Forum: ESP-WHO
Topic: Change ONNX model at runtime
Replies: 2
Views: 45583

Change ONNX model at runtime

Hi everyone, in our project, we have been using TensorFlow Lite for microcontrollers so far to run some AI models on the ESP32. But now, we want to run ONNX models that cannot be converted to TensorFlow Lite. So luckily we found out about ESP-DL, which even has a tutorial on running ONNX models: htt...