Hi,
I finally survived the registration. Not very user friendly, but I guess it removes all bots...
Anyway I am implementing a pico w iot application. I have posted several minimal github repos under my username.
I have implemented a flash file system of sorts and now want to do what every cellphone does and search stored ssid/password entries to find matching ones on the wifi. There is an example scan on picow_wifi_scan at .../pico-examples/pico_w/wifi/wifi_scan/picow_wifi_scan.c Great, good job rpi!
The problem is the api is kind of incomplete. Yes C is very poor at handling strings, and lists, are extremely difficult. The problem is to actually use the api, I would like to be able to stop the callbacks when I have succeeded. And passing a return value from an internal api callback is beyond difficult.
The API itself has this comment:I am running sdk git version 2.1.0 master. Any tip when this might be fixed?
I finally survived the registration. Not very user friendly, but I guess it removes all bots...
Anyway I am implementing a pico w iot application. I have posted several minimal github repos under my username.
I have implemented a flash file system of sorts and now want to do what every cellphone does and search stored ssid/password entries to find matching ones on the wifi. There is an example scan on picow_wifi_scan at .../pico-examples/pico_w/wifi/wifi_scan/picow_wifi_scan.c Great, good job rpi!
The problem is the api is kind of incomplete. Yes C is very poor at handling strings, and lists, are extremely difficult. The problem is to actually use the api, I would like to be able to stop the callbacks when I have succeeded. And passing a return value from an internal api callback is beyond difficult.
The API itself has this comment:
Code:
void cyw43_cb_process_async_event(void *cb_data, const cyw43_async_event_t *ev) {.... int ret = self->wifi_scan_cb(self->wifi_scan_env, &ev->u.scan_result); if (ret != 0) { // TODO need to abort scan, or just ignore any more results }
Statistics: Posted by nospamcalfee — Fri Feb 28, 2025 1:12 am — Replies 0 — Views 37