-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipv4_address_ap not available immediately #9855
Comments
I ran the code as-is and got |
That might be it, I will test. Thanks! |
Correct, it works for me as well. |
I tried |
Let's leave this issue open, there may be a fix possible in the software, so that the call to set the address doesn't return until the address is valid. iirc, there was a similar issue for Station that was fixed like that. |
Maybe an explicit call to iirc, |
CircuitPython version
Code/REPL
Behavior
If I run this code, it prints out the correct IP address in the console.
However, if I comment out the line 13 (the line that starts with banana), it prints out "my IP addr: None", the ipv4_address_ap is empty.
Description
Is this a bug? Or expected behavior? I was trying to get the ip address from the wifi radio and it took me a while to figure this out. Maybe there is something that I don't get...
Additional information
No response
The text was updated successfully, but these errors were encountered: