Search found 7 matches

by nottledim
Mon Jun 27, 2022 7:42 pm
Forum: ESP-IDF
Topic: Example DPP Easy Connect Tx Fail
Replies: 3
Views: 1644

Re: Example DPP Easy Connect Tx Fail

I can get it work by changing the AP channels. I had the same SSID on 2 different channels (both in the channel list) which I think perplexed it. Probably not ideal but no excuse for crashing.
by nottledim
Mon Jun 27, 2022 2:30 pm
Forum: ESP-IDF
Topic: Example DPP Easy Connect Tx Fail
Replies: 3
Views: 1644

Re: Example DPP Easy Connect Tx Fail

Looking at logs it seems the error is in wpa_supplicant offchannel event handler D (6692) event: running post WIFI_EVENT:19 with handler 0x400e03c4 and context 0x3ffc6cd0 on loop 0x3ffbcd18 0x400e03c4: offchan_event_handler at /home/dick/src/esp/esp-idf-v4.4/esp-idf/components/wpa_supplicant/esp_sup...
by nottledim
Mon Jun 27, 2022 1:02 pm
Forum: ESP-IDF
Topic: Example DPP Easy Connect Tx Fail
Replies: 3
Views: 1644

Example DPP Easy Connect Tx Fail

I'm trying the example esp-idf/examples/wifi/wifi_easy_connect/dpp-enrollee and find it frequently fails but not always. I (1199) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07 I (1309) wifi:mode : sta (50:02:91:86:33:b8) I (1309) wifi:enable tsf I (1309) wifi dpp-enrollee: Started listenin...
by nottledim
Sat Feb 12, 2022 1:58 pm
Forum: General Discussion
Topic: Migrating from legacy to CMake build
Replies: 8
Views: 7400

Re: Migrating from legacy to CMake build

The `convert_to_cmake.py` program does not exist in latest esp-idf so I've copied it from github. Unfortunately it doesn't work: Converting /home/dick/src/esp/projects/fouterlec-lcd... Traceback (most recent call last): File "/home/dick/src/esp/esp-idf/tools/cmake/convert_to_cmake.py", line 205, in ...
by nottledim
Mon Aug 20, 2018 5:40 pm
Forum: General Discussion
Topic: hwcrypt demo program
Replies: 0
Views: 2048

hwcrypt demo program

I've been struggling up the learning curve of encrypting some arbitrary data for sending for example over a LoRa connection. In case there's anybody else in a similar situation I've written a simple demo program that runs under esp_idf on a esp32 module. It creates necessary data structures and data...
by nottledim
Sat Nov 11, 2017 9:58 pm
Forum: General Discussion
Topic: How to specify partition to boot
Replies: 0
Views: 1926

How to specify partition to boot

esp32: I'vt got OTA working OK but if the app fails (panic) I have to flash a new image to factory. When it reboots it runs the app in the ota partition and not the one in factory. How do I force reboot from factory partition? In general, how do I select which the partition to boot from?

Thanks
by nottledim
Sat Nov 11, 2017 6:38 pm
Forum: General Discussion
Topic: How to specify partition to boot
Replies: 0
Views: 1890

How to specify partition to boot

esp32: I've got OTA working well but I find if the new version of the program fails (panic) I cannot boot from factory. I can flash to factory but it still boots from the old (faulty) OTA partition. How do do I force it to boot from factory?

Thanks