drivers icon indicating copy to clipboard operation
drivers copied to clipboard

rtl8720dn: add SetupAndConnectToAccessPoint()

Open sago35 opened this issue 3 years ago • 2 comments

In many cases, the task of setting up and connecting the rtl8720dn is tedious. SetupAndConnectToAccessPoint() and simplified the code. This makes examples/rtl8720dn/webclient etc. as close to the same source code as possible as the PC.

sago35 avatar Jul 23 '22 02:07 sago35

Perhaps it would be useful to create a similar structure for wifinina and others. In that case, instead of examples/rtl8720dn, it might be better to use rtl8720dn/setup.

sago35 avatar Jul 23 '22 02:07 sago35

I believe this PR is subsumed by the greater netdev work in drivers:dev. Netdev gives drivers a common entry point to setup and connect to Wifi. Apps use that API, regardless of which network driver is being used. Consequently, the examples/net examples apps aren't specific to one network driver or the other.

scottfeldman avatar Jan 11 '24 01:01 scottfeldman