Open gershnik opened 3 months ago
Memory usage change @ 27a2225f641c7177275dd71b02c2a48ce91c524e
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:mbed_nano:nanorp2040connect |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:megaavr:uno2018:mode=on |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrvidor4000 |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:mkrwifi1010 |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
arduino:samd:nano_33_iot |
0 - 0 | 0.0 - 0.0 | 0 - 0 | 0.0 - 0.0 |
Nina firmware now exposes plain BSD sockets. Using those provides a powerful and straightforward tool for people familiar with BSD sockets and lets them avoid many long standing issues with simplified WiFiServer/WiFiClient interfaces.
This PR adds a WiFiSocket class that exposes all the available socket operations in a convenient and safe wrapper. All operations tested on Nano RP2040 Connect with firmware 1.5.