This library allows you to use the Arduino UNO WiFi Rev.2, Arduino NANO 33 IoT, Arduino MKR 1010 and Arduino MKR VIDOR 4000 WiFi capabilities. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports WEP, WPA2 Personal and WPA2 Enterprise encryptions. This library support all the same methods of the original WiFi library plus the
This library requires that your board has a matching firmware installed. When the library is updated, also the firmware might be updated, but it is not mandatory. To avoid any issue and ensure that you have the most up to date setup, we suggest that you check your WiFiNINA library with the Arduino Software (IDE) Library Manager. There is an option in the Preferences that enables the check for updates of any of the installed libraries at startup. If you haven't installed the WiFiNINA library yet, you won't get notified about its updates. Anyway, you get the library status just writing its name in the search field on top of the Library Manager.
When the library version installed on your computer is the latest available, you may check the firmware version of the board or the shield. We have prepared a utility sketch to check the firmware version and its matching with the library. If the firmware needs an update, another utility sketch enables the process. Below the link to the relevant tutorials.
You find these two utilities under Examples - > WiFiNINA -> Tools.
The WiFi class initializes the ethernet library and network settings.
The client class creates clients that can connect to servers and send and receive data.
The Server class creates servers which can send data to and receive data from connected clients (programs running on other computers or devices).
The UDP class enables UDP message to be sent and received.
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.