Search found 39 matches

by RMandR
Mon Jun 01, 2020 6:00 pm
Forum: General Discussion
Topic: Automatic Light Sleeping during long spi transactions and Gpio states
Replies: 1
Views: 459

Automatic Light Sleeping during long spi transactions and Gpio states

ePaper panels have a fairly long update delays (1 to > 4 seconds). It would be nice conserve power during the wait. When I enable automatic light sleep, esp32 is no longer able to communicate with the ePaper panel. My guess is that the GPIO pins either float during sleep or go to 0 including the res...
by RMandR
Fri May 29, 2020 8:00 pm
Forum: General Discussion
Topic: IDF 4.0 light sleep and maintaining WiFi AP connection
Replies: 2
Views: 286

Re: IDF 4.0 light sleep and maintaining WiFi AP connection

@WiFive, Thank you!

Automatic light_sleep did the trick.
by RMandR
Thu May 28, 2020 9:27 pm
Forum: General Discussion
Topic: IDF 4.0 light sleep and maintaining WiFi AP connection
Replies: 2
Views: 286

IDF 4.0 light sleep and maintaining WiFi AP connection

My app was able to stay WiFi connected to the AP without issues until I added periodic light_sleep for power saying. Essentially the same code presented in the light_sleep example: https://github.com/espressif/esp-idf/blob/master/examples/system/light_sleep/main/light_sleep_example_main.c /* Enter s...
by RMandR
Thu May 28, 2020 8:50 pm
Forum: General Discussion
Topic: Reading Certificates from Spiffs partition on the flash memory of esp32
Replies: 1
Views: 372

Re: Reading Certificates from Spiffs partition on the flash memory of esp32

@saransh.goel Have a look at this post. I asked for a similar purpose: https://esp32.com/viewtopic.php?f=13&t=12963 In my case, I ended up copying the certificate data into RAM and passing them to the APIs. It looks like you may have to do the same: https://docs.espressif.com/projects/esp-idf/en/lat...
by RMandR
Fri Mar 20, 2020 4:24 pm
Forum: General Discussion
Topic: ESP_ERR_NVS_NOT_FOUND on a namespace that does exist
Replies: 0
Views: 1425

ESP_ERR_NVS_NOT_FOUND on a namespace that does exist

There something weird happening when I try to clear the WiFi credentials on NVS: int err = nvs_flash_erase(); printf("\r\nErased NVS with: %d", err); err = nvs_flash_init(); printf("\r\ninit: %d", err); // then I try to re-save the application data nvs_handle my_handle; // Open esp_err_t err = nvs_o...
by RMandR
Fri Nov 01, 2019 5:07 pm
Forum: ESP32 IDF
Topic: is copy-less read operations possible for nvs blobs?
Replies: 2
Views: 1199

is copy-less read operations possible for nvs blobs?

for aws mqtt connection, the API seems to accept only pointer memory location or fat fs paths. What's the best way of doing this if the aws cert is not embedded in the binary and stored in NVS? It seems like a waste memory to have to copy the certs and keys from NVS into memory before passing onto t...
by RMandR
Fri Nov 01, 2019 4:56 pm
Forum: ESP32 IDF
Topic: app_prov_get_wifi_state() returns "connecting" even after wifi is connected?
Replies: 3
Views: 1047

Re: app_prov_get_wifi_state() returns "connecting" even after wifi is connected?

@ESP_Piyush Thanks for clarifying. In the case of a mobile app provisioning over BLE, the app will not receive a final confirmation if the user tries to provision an already provisioned device. Since the users can't be relied on performing WiFi wipe and reboot, the workaround on provision initiation...
by RMandR
Mon Oct 28, 2019 2:35 pm
Forum: ESP32 IDF
Topic: app_prov_get_wifi_state() returns "connecting" even after wifi is connected?
Replies: 3
Views: 1047

Re: app_prov_get_wifi_state() returns "connecting" even after wifi is connected?

Update: it looks like the only way the status will change is when esp32 gets and IP address. //app_prov.c case SYSTEM_EVENT_STA_GOT_IP: ESP_LOGI(TAG, "STA Got IP"); /* Station got IP. That means configuration is successful. * Schedule timer to stop provisioning app after 30 seconds. */ g_prov->wifi_...
by RMandR
Mon Oct 28, 2019 1:31 pm
Forum: ESP32 IDF
Topic: app_prov_get_wifi_state() returns "connecting" even after wifi is connected?
Replies: 3
Views: 1047

app_prov_get_wifi_state() returns "connecting" even after wifi is connected?

I'm working on BLE provisioning based on IDF 3.2 and the samples ios app (the version before the latest change to v1.2) Even after the esp32 is connected to the AP, the status is not updated and the IOS app gets stuck in polling. I've added an additional endpoint to the BLE to send some custom devic...

Go to advanced search