Search found 9 matches

by gfreund
Thu Apr 22, 2021 11:25 pm
Forum: ESP32 Arduino
Topic: ESP32 remote firmware update options
Replies: 4
Views: 7876

Re: ESP32 remote firmware update options

There's nothing wrong per se with your code/solution from what I can tell. However two considerations: GSP/GPRS/3G services will stop working in the US. Your solution might stop working within a couple of years depending on the carrier you choose. The reason behind this is that the carriers are recy...
by gfreund
Thu Apr 15, 2021 10:43 pm
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15570

Re: WiFi.begin(ssid, password) and timeout

WiFi.disconnect()
~G
by gfreund
Tue Apr 13, 2021 8:20 pm
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15570

Re: WiFi.begin(ssid, password) and timeout

You're correct. The ESP32 will periodically send a SYSTEM_EVENT_STA_DISCONNECTED event if either the initial connection fails or the WiFi goes down. You can easily test it by "connecting" to a non-existing network and Serial.print() the event.

~G
by gfreund
Mon Apr 12, 2021 11:05 pm
Forum: ESP32 Arduino
Topic: WiFi.begin(ssid, password) and timeout
Replies: 6
Views: 15570

Re: WiFi.begin(ssid, password) and timeout

If it works in your code flow you can simply turn on asynchronous notifications and get the connection status from there. That also has the advantage that you can trigger re-connect attempts in case the WiFi network temporarily goes down. The basic logic is below. There are also tons of additional e...
by gfreund
Sat Apr 10, 2021 8:12 am
Forum: ESP32 Arduino
Topic: ESP32 remote firmware update options
Replies: 4
Views: 7876

Re: ESP32 remote firmware update options

GPS is a navigation system and no, you can't use it for any other communication. GSM (really GPRS) is very slow and therefore might not be suitable. Also basic GSM/GPRS is currently end-of-lived by the two US carriers that support it (AT&T and T-Mobile) so it might not work much longer. Want you nee...
by gfreund
Sun Apr 04, 2021 2:39 am
Forum: ESP32 Arduino
Topic: Setting CONFIG_BOOTLOADER option
Replies: 5
Views: 5079

Re: Setting CONFIG_BOOTLOADER option

NM, ignore the last message. However the correct docker tag is

Code: Select all

docker pull lbernstone/esp32-arduino-lib-builder:idf-master_20210403
(not esp32s2).

This was really a great help and again, very much appreciated.
Gregor
by gfreund
Sat Apr 03, 2021 10:55 pm
Forum: ESP32 Arduino
Topic: Setting CONFIG_BOOTLOADER option
Replies: 5
Views: 5079

Re: Setting CONFIG_BOOTLOADER option

Thanks, that really appreciate and should close the last big gap in functionality between ESP32 Arduino and ESP-IDF. I wasn't too fa,iliar with Docker but it seems a great solution for this. Unfortunately the Docker command line doesn't work. You're sure you made the packet public? C:\dev\docker>doc...
by gfreund
Sat Apr 03, 2021 1:44 am
Forum: ESP32 Arduino
Topic: Setting CONFIG_BOOTLOADER option
Replies: 5
Views: 5079

Re: Setting CONFIG_BOOTLOADER option

Hi, nice to see you here. Thanks for the quick response! The issue we're trying to address is not a potentially bad image. We were planning to account for that via a SHA signature but from what you say, we might actually be able to save ourselves the trouble. What we are trying to implement is the r...
by gfreund
Thu Apr 01, 2021 11:33 pm
Forum: ESP32 Arduino
Topic: Setting CONFIG_BOOTLOADER option
Replies: 5
Views: 5079

Setting CONFIG_BOOTLOADER option

We're working on an OTA component via a potentially very slow connection (GPRS or IoT-NP). We're using esp_ota_begin(), esp_ota_write_with_offset() and esp_ota_end(). The arduino-esp32 version is 4.2. The build environment is Visual Micro. Everything works as expected. However as the last piece we w...