-->
Page 1 of 1

Where am I connected?

PostPosted: Tue Apr 05, 2016 11:07 am
by ian
My server starts as an access point.
I tell it where to connect as a station - <name>
When I reboot/power cycle I want it to tell me, 'You are currently connected to <name>'
Where do I find '<name>' ?
I want to report it to the user.
Forgive me if I'm being stupid... It's been a long day

Ian

Re: Where am I connected?

PostPosted: Tue Apr 05, 2016 12:23 pm
by martinayotte
WiFi.SSID() is returning a String with your AP Name in it.

Re: Where am I connected?

PostPosted: Wed Apr 06, 2016 3:12 am
by ian
martinayotte wrote:WiFi.SSID() is returning a String with your AP Name in it.


Headslap! Of course it does. Thank you Martin :)