Home

This library allows you to use WiFi capabilities of Arduino boards equipped with NINA module. Its source code can be found at this Github page

It is a fork of WiFiNINA library that attempts to improve it and fix longstanding issues to make it usable for more serious network communication needs.

The library supports WEP, WPA2 Personal and WPA2 Enterprise encryptions.

To use this library:

#include <SPI.h>
#include <BetterWiFiNINA.h>

The following pages describe various aspects of the library functionality:

  • WiFi - connect to/establish a WiFi network and various global functionality

  • Socket - a safe interface to BSD-style sockets. Use this interface if possible.

  • BearSSLSocket - using sockets with Bear SSL. Use this interface if possible.

  • MbedTLSSocket - using sockets with Mbed TLS. Use this interface if possible.

  • UDP - a simplified interface to UDP.

  • Client - a simplified interface to plain TCP and SSL clients. Only useful for client SSL connections and otherwise deprecated.

  • Deprecated: Server - don’t use

Various examples can be found here.

Indices and info

License

Copyright (c) 2024 Eugene Gershnik. All rights reserved.
Copyright (c) 2018 Arduino SA. All rights reserved.
Copyright (c) 2011-2014 Arduino LLC. All right reserved.

This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.

This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.

You should have received a copy of the GNU Lesser General Public License along
with this library; if not, see <https://www.gnu.org/licenses/>.