Search found 5 matches

by kiwironnie
Mon Jun 24, 2024 7:04 am
Forum: General Discussion
Topic: How to set a static global IPV6 address using esp-idf 5.2.1
Replies: 2
Views: 1469

Re: How to set a static global IPV6 address using esp-idf 5.2.1

Responding again in case it helps other. Eventually I did manage to find an obscure reference (not in the latest esp-idf manual) that enables a static IPV6 address to be configured. The code for the relevant wifi setup function in my code is provided here: // Static IPv6 configuration #define STATIC...
by kiwironnie
Fri May 24, 2024 2:58 am
Forum: General Discussion
Topic: ESP32S2 Attempted hibernate, switching power domains off causes crash
Replies: 2
Views: 1628

Re: ESP32S2 Attempted hibernate, switching power domains off causes crash

Thanks very much Boarchuz for taking the trouble to respond. That indeed was the problem, now solved. esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_ON); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF); esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_ON); ...
by kiwironnie
Thu May 23, 2024 6:37 am
Forum: General Discussion
Topic: ESP32S2 Attempted hibernate, switching power domains off causes crash
Replies: 2
Views: 1628

ESP32S2 Attempted hibernate, switching power domains off causes crash

Hi Folks Using ESP-IDF on an ESP32S2 when any of the power domain control statements in the following function are set to off the device crashes with: assert failed: esp_sleep_pd_config sleep_modes.c:1839 (refs >= 0) If they are all set to auto the device deep sleeps normally. Power consumption is t...
by kiwironnie
Wed May 22, 2024 3:27 am
Forum: General Discussion
Topic: How to set a static global IPV6 address using esp-idf 5.2.1
Replies: 2
Views: 1469

Re: How to set a static global IPV6 address using esp-idf 5.2.1

Partly answering myself. To enable SLAAC global addresses it is necessary to set a kconfig setting using menuconfig as described here: https://github.com/espressif/arduino-esp32/issues/6626 "On current ESP-IDF version, I can configure sample projects to receive IPv6 either via SLAAC or DCHP6 via idf...
by kiwironnie
Mon May 20, 2024 8:06 pm
Forum: General Discussion
Topic: How to set a static global IPV6 address using esp-idf 5.2.1
Replies: 2
Views: 1469

How to set a static global IPV6 address using esp-idf 5.2.1

Hi All The latest ESP FAQ Handbook says: "If it is a global static IP, both IPv6 and IPv4 support manual configuration" However I've not been able to discover how to successfully achieve this, particularly to establish a WiFi connection with an ESP32 board. Rather than static the preference is actua...