tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
624 stars 196 forks source link

rtl8720dn, wifinina: implement netlink.ConnectModeAP #667

Closed deadprogram closed 8 months ago

deadprogram commented 8 months ago

This PR extends the rtl8720dn and wifinina drivers to implement ConnectMode using netlink.ConnectModeAP.

link.NetConnect(&netlink.ConnectParams{
    ConnectMode: netlink.ConnectModeAP,
    Ssid:        ssid,
    Passphrase:  pass,
})
scottfeldman commented 8 months ago

LGTM

deadprogram commented 8 months ago

Thanks for reviewing @scottfeldman now merging.