mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 14:37:46 +00:00
7d24c3c285
rpc_wifi_connect() will return 0 on successful connection, so check for that. Also, check that if passphrase is given, that it's the minimum 8 chars per WPA Wifi.
Table of Contents
Netlinker
TinyGo's network device driver model comprises two Go interfaces: Netdever and Netlinker. This README covers Netlinker.
The Netlinker interface describes an L2 network interface. A netlink is a concrete implementation of a Netlinker. See Netdev for the L4/L3 network interface.
A netlink can:
- Connect/disconnect device to/from network
- Notify of network events (e.g. link UP/DOWN)
- Send and receive Ethernet packets
- Get/set device's hardware address (MAC address)