Replies: 8 comments 2 replies
-
with the modification in wifi_init() (HS_LOGON_WIFI ) it works fine. A blemish that I have had for a long time remains:
|
Beta Was this translation helpful? Give feedback.
-
As a test, can you try setting IP to "0.0.0.0", so that it connects using DHCP? With DHCP does it seem to connect ok? Does the AP have country code configured, if it does, then probably would be worth testing setting matching country code (using |
Beta Was this translation helpful? Give feedback.
-
thanks for quick answer!
|
Beta Was this translation helpful? Give feedback.
-
Do you see anything more useful if you enable more logging ( Since connection is done using cyw43_arch_wifi_connect_async() it will happen on the "background". I did quick test and it seems bit faster with static IP (compared to DHCP), but I couldn't replicate your issue...
|
Beta Was this translation helpful? Give feedback.
-
output with LOG == INFO AND I have changed the code to eliminate the country part: if (cyw43_arch_init()) {
|
Beta Was this translation helpful? Give feedback.
-
I'm using the FRITZ!Box 7590 as AP. |
Beta Was this translation helpful? Give feedback.
-
as I explaned here your code works fine with this little modification The only difference ist |
Beta Was this translation helpful? Give feedback.
-
I added new command SYS:WIFI:MODE to allow specifying whether to use asynchronous (or synchronous) join to WiFi network. |
Beta Was this translation helpful? Give feedback.
-
WLAN initialization and connection to the SSID seems to work
and there was no further message from
the cb's wifi_status_cb or wifi_link_cb
but SYS:WIFI:STAT? says: -2,192.168.1.120,255.255.255.0,192.168.1.4
the connection to the ssid seems to be failed.... but why the cb's do not report that ?
AND
why the cyw43_arch_wifi_connect_async() returened 0 (means O.K.)
please see the following log:
Beta Was this translation helpful? Give feedback.
All reactions