1

I use a MKR 1010 (firmware 1.2.1), download WifiNINA library (version 1.3.0) and started to play with it.

I can connect to my Wifi network, and WifiNINA library examples such a WifiPing (which repeatedly pings www.google.com) works fine.

However, I can't get any of the server examples (e.g. WifiWebServer) to work.

I can see that the board connects to the network and gets an IP and the Serial monitor is printing this :

09:11:15.989 -> SSID: OfficeNet
09:11:15.989 -> IP Address: 192.168.1.44
09:11:15.989 -> signal strength (RSSI):-36 dBm
09:11:15.989 -> To see this page in action, open a browser to http://192.168.1.44

But if I browser to http://192.168.1.44, I never get any answer.

The loop code is just from the example :

void loop() {
  WiFiClient client = server.available();   // listen for incoming clients

  if (client)
  {                             // if you get a client,
    Serial.println("new client");           // print a message out the serial port
(...)
  }
  // close the connection:
  client.stop();
  Serial.println("client disonnected");
}

I am never getting inside the if client()loop ("new client" never printed).

Any suggestions?

AirXygène
  • 111
  • 3

0 Answers0