Search found 4 matches

by iseries1
Mon Apr 22, 2024 10:16 am
Forum: ESP-IDF
Topic: IDF example scan does not show ap's returned
Replies: 3
Views: 825

Re: IDF example scan does not show ap's returned

I think your missing the point here. The correct number of AP's was returned by the function that returns the APs found returns zero. I (3221) scan: Total APs scanned = 0, actual AP number ap_info holds = 4 The sample shows total APs scanned is 0 but the number returned is 4 which is correct. I thin...
by iseries1
Fri Apr 19, 2024 3:16 pm
Forum: ESP-IDF
Topic: IDF example scan does not show ap's returned
Replies: 3
Views: 825

IDF example scan does not show ap's returned

In the example code this function is used: ESP_ERROR_CHECK(esp_wifi_scan_get_ap_num(&ap_count)); It always returns 0 even though there are APs return in the results. ����x�x⌂�������x�x���x��ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) ets Jun 8 2016 00:22:57 rst:0x...
by iseries1
Wed Apr 17, 2024 12:43 pm
Forum: ESP-IDF
Topic: This WiFi Code causes Stack overflow
Replies: 3
Views: 1163

Re: This WiFi Code causes Stack overflow

Since IDF is in control of the stack it should not happen.

If I remove the string copies from the code the stack does not overflow.

In addition, even though the stack does not overflow it will never connect to the router.

Mike
by iseries1
Tue Apr 16, 2024 11:47 am
Forum: ESP-IDF
Topic: This WiFi Code causes Stack overflow
Replies: 3
Views: 1163

This WiFi Code causes Stack overflow

Was having issues with ESP32 connecting to my router using APSTA mode and found that changing from a local variable to program variable fixed the issue.

Please find attached the sample testing code I used with ESP32 and ESP-IDF.

Mike

Tried with other ESP units with the same results.