What does a status code 1 in eventInfo.scan_done mean?

bertdd
Posts: 1
Joined: Tue Jul 25, 2017 11:33 am

What does a status code 1 in eventInfo.scan_done mean?

Postby bertdd » Tue Jul 25, 2017 11:47 am

Hello forum members,

I own two ESP32 boards, the original ESP32 WROOM 32 development board and a Sparkfun ESP32 thing.
One of the first things I tried is to do a WiFi scan.
Both boards worked, but suddenly they start to return a status code 1 in evenInfo.scan_done and no access points are detected anymore.
All initializations, setup calls and even the call to esp_wifi_scan_start return ESP_OK
The SYSTEM_EVENT_SCAN_DONE event is nicely detected and the scan id counts up....
I might be overlooking things, but I cannot find the meaning of the status code 1 anywhere.

The code in esp_event.h is not very helpful:

typedef struct {
uint32_t status; /**< status of scanning APs */
uint8_t number;
uint8_t scan_id;
} system_event_sta_scan_done_t;

Does anyone have any pointers ;-)

Thanks

Bert

Who is online

Users browsing this forum: No registered users and 157 guests