Skip to main content
1 of 2
Doug Null
  • 201
  • 1
  • 7

where does access point's IP address come from for sketch AP_SimpleWebServer.ino in Github WiFi101 examples

I don't understand where the access point's IP comes from. Sketch uses WiFi.beginAP( ssid ) ..to start the AP. Then, printWifiStatus() gets the access point's IP with: IPAddress ip = WiFi.localIP();

How does .beginAP() create the IP? What does it use for a mask?

I'm creating network service on a MKR1000, and want to use .beginAP() to make it an access point, so I don't need a "middle man" (router). Going to have mobile device (iPhone) connect directly to Arduino MKR1000.

Doug Null
  • 201
  • 1
  • 7