How Do You Set Modem\Uno Static IP and Hostname?

How Do You Set Modem\Uno Static IP and Hostname on a Uno WiFi Rev2 board?

Ok, I did not realize this was that hard of a thing.

Some more information:

  • Arduino Uno WiFi Rev 2 with latest firmware (1.3.0)
  • I have successfully figured out how to set the static IP
  • I have found the WiFi.setHostname("myHostname"); setHostname() WiFiNINA WiFi class and think it may actually be set (I have no code errors).

My problem is I have no idea how to recall the hostname that was set, if I indeed did set it.

Anyone around who can help?

SimpleWebServerWiFi_LEDs.ino (9.21 KB)