Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

modnetwork.c

  • Paul Sokolovsky's avatar
    9e8396ac
    esp8266/modnetwork: Allow to configure STA and AP interfaces separately. · 9e8396ac
    Paul Sokolovsky authored
    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()).
    9e8396ac
    History
    esp8266/modnetwork: Allow to configure STA and AP interfaces separately.
    Paul Sokolovsky authored
    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()).