Skip to content
Snippets Groups Projects
Commit 9e8396ac authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/modnetwork: Allow to configure STA and AP interfaces separately.

On ESP8266, there're 2 different interfaces. Pretending it's not the case
desn't make sense. So, network.WLAN() now takes interface id, and returns
interface object. Individual operations are then methods of interface
object. Some operations require i/f of specific type (e.g. .connect()
makes sense only for STA), other are defined for any (e.g. .ifconfig(),
.mac()).
parent 9b5e05a7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment