Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

SDK • How to get and display IP?

$
0
0
I'm experimenting with running a web interface in my Pico project. I tried a tutorial about it, and it worked.
But when you are in STA mode and getting IP via DHCP, I'd like to output to STDIO what IP it acquired. All the Wi-Fi library seems to output by default is connection status, including if the connection has an IP, but doesn't display the IP.

Would be mighty handy to be able to output the IP rather than having to scan my WiFi network to find it.

Statistics: Posted by DanMan32 — Mon Jan 15, 2024 2:17 am



Viewing all articles
Browse latest Browse all 5077

Trending Articles