Search found 107 matches
- Wed Dec 23, 2020 10:12 pm
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
Re: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
OK, I've tested against a default SdkConfig and it still fails.
- Wed Dec 23, 2020 12:13 am
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
Re: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
Shubham, what are you using as the provisioning client?
I'm getting non-deterministic results and only extremely rare successes using the ESP-IDF SoftAp Provisioning Android app.
I'm getting non-deterministic results and only extremely rare successes using the ESP-IDF SoftAp Provisioning Android app.
- Mon Dec 21, 2020 8:51 pm
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
Re: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
It's almost certainly a non-default sdkconfig because I am trying to resolve this within an existing project. sdkconfig: https://gist.github.com/william-ferguson-au/4990482c23de7df5969ce47bef8ea266 Note: my main issue now is that the results are non-deterministic. Sometimes it is able to send the wi...
- Sun Dec 20, 2020 1:35 am
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
Re: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
OK, this is REALLY frustrating. Managed to get it to send the wifi credentials once (it showed up in the logs). But now after I provide the wifi credentials in the Android app it mainly fails with "Failed to send Wi-Fi credentials and the ESP log shows: I (811) wifi_prov_mgr: Provisioning started wi...
- Sun Dec 20, 2020 12:57 am
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
Re: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
OK, it looks like the example isn't failing per se.
I still get those warnings and the error, but the example continues, it's just that the UI of the SoftAp Provisioning app on Google Play didn't make it very clear what was going on.
I still get those warnings and the error, but the example continues, it's just that the UI of the SoftAp Provisioning app on Google Play didn't make it very clear what was going on.
- Sat Dec 19, 2020 8:27 am
- Forum: ESP-IDF
- Topic: wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
- Replies: 10
- Views: 11063
wifi_prov_mgr example failing with "httpd_resp_send_err: error calling setsockopt : 22"
I have built the wifi_prov_mgr example against esp-idf v4.3-dev-2136-gb0150615d (ESP32s2) I have changed one line to ensure that I always start provisioning. Provisioning starts Ok, but when I use the ESP Soft Ap Provisioning App from Google Play to connect to the AP it fails with I (868) wifi_prov_...
- Mon Nov 09, 2020 10:25 pm
- Forum: ESP-IDF
- Topic: Unable to connect to SoftAP from Android devices
- Replies: 1
- Views: 3436
Re: Unable to connect to SoftAP from Android devices
Solved.
I had neglected to create the default_wifi_ap prior to provisioning.
I had neglected to create the default_wifi_ap prior to provisioning.
Code: Select all
esp_netif_create_default_wifi_ap();
- Mon Nov 09, 2020 7:00 am
- Forum: ESP-IDF
- Topic: debug logging from adc_set_init_code (on main thread) causing an abort because it thinks it calls from an ISR
- Replies: 2
- Views: 2822
- Mon Nov 09, 2020 12:20 am
- Forum: ESP-IDF
- Topic: Unable to connect to SoftAP from Android devices
- Replies: 1
- Views: 3436
Unable to connect to SoftAP from Android devices
Environment Chip: ESP32s2 IDF Version 4+ (master) 8bc19ba893e5544d571a753d82b44a84799b94b1 Power Supply: Battery Problem Description I am attempting to enable SoftAP provisioning on the ESP32s2. I can switch provisioning on OK, but I can't get any Android device to actually connect to the SoftAP. T...
- Sun Nov 08, 2020 10:59 pm
- Forum: ESP-IDF
- Topic: debug logging from adc_set_init_code (on main thread) causing an abort because it thinks it calls from an ISR
- Replies: 2
- Views: 2822
debug logging from adc_set_init_code (on main thread) causing an abort because it thinks it calls from an ISR
Environment Chip: ESP32s2 IDF Version 4+ (master) 8bc19ba893e5544d571a753d82b44a84799b94b1 Power Supply: Battery Problem Description When I set logging to debug and switch WiFi logging to debug, on start up (from the main thread) when my app attempts to read the battery voltage it aborts because lo...