-
I was able to get connected to my local network with your WiFiServer example, but can I make the server an access point server? If so, how? Thanks, Frank |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
Yes, AP is supported but I didn't get around to writing an example for it. See arduino-pico/libraries/WiFi/src/WiFiClass.h Lines 79 to 82 in a97dc38 If you come up with a good simple example, feel free to do a PR to add it! |
Beta Was this translation helpful? Give feedback.
-
OK. Got it working by modifying the library mentioned above and including the files in my sketch! Thanks. |
Beta Was this translation helpful? Give feedback.
-
Are you experiencing problems obtaining an IP address using access point? I watch it on my phone trying to obtain IP address and it's like it gets stuck and then gives up. Why do you need an IP address if it seems to be always 192.168.42.1? Can we set our own address? I was making good progress, today, but it seems my Pico just keeps disconnecting to reconnect to obtain an IP address. I've tried it on another Pico W - same results. |
Beta Was this translation helpful? Give feedback.
-
I think there might be some confusion here. In AP mode, the Pico is not connected to the internet and doesn't have any address other than 192.168.42.1 (well, that's configurable but it's fixed). So the Pico's not going to try and connect to the internet. Your phone, however, might notice "Hey, this AP (the PicoW) I connected to doesn't have inet connection...let me go back to 4G" |
Beta Was this translation helpful? Give feedback.
OK. Got it working by modifying the library mentioned above and including the files in my sketch!
Thanks.