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
584 stars 180 forks source link

rtl8720dn, wifinina: implement netlink.ConnectModeAP #667

Closed deadprogram closed 3 months ago

deadprogram commented 3 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 3 months ago

LGTM

deadprogram commented 3 months ago

Thanks for reviewing @scottfeldman now merging.