summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modnetwork.c
Commit message (Collapse)AuthorAge
* esp8266: Move PHY mode constants from modesp to modnetwork.Paul Sokolovsky2016-04-01
|
* esp8266: Support synchronous wifi scanning.Damien George2016-03-30
| | | | | | | That is: aps = if0.scan() TODO: make sure that returned list has tuple with values in "standard" order (whatever that standard is).
* esp8266/modnetwork: Add symbolic names for network interfaces: STA_IF & AP_IF.Paul Sokolovsky2016-03-10
| | | | | These are expected to be passed to network.WLAN() to instantiate network interface objects.
* esp8266/modnetwork: Introduce interface .config() method.Paul Sokolovsky2016-03-10
| | | | | | | | | | | | Allows to set (in case keyword args are given) or query (in case a single "symbolic keyword" (a string, value is the same as keyword)) arbitrary interface paramters (i.e. extensible and adaptable to various hardware). Example usage: ap_if = network.WLAN(1) ap_if.config(essid="MicroPython on Air") print(ap_if.config("essid"))
* esp8266/modnetwork: Move config defines to the top.Paul Sokolovsky2016-03-10
|
* esp8266/modnetwork: Add per-interface .active() method.Paul Sokolovsky2016-03-10
| | | | | | Allows to up/down interface when called with a boolean, or query current state if called without args. This per-interface method is intended to supersede adhoc network.wifi_mode() function.
* esp8266: Move wifi_mode() and phy_mode() to network module.Paul Sokolovsky2016-03-10
|
* esp8266/modnetwork: Allow to configure STA and AP interfaces separately.Paul Sokolovsky2016-03-10
| | | | | | | | | 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()).
* esp8266: Add network.ifconfig().Damien George2016-03-02
|
* esp8266: mac() function belongs to network module per the latest API.Paul Sokolovsky2015-12-27
|
* esp8266: Remove superfluous includes.Paul Sokolovsky2015-12-21
|
* esp8266: Added wlan.isconnected() to maintain parity with other ports.Bill Owens2015-09-15
|
* esp8266: Move status() from esp module to networkBill Owens2015-06-20
|
* esp8266: Move scan from esp module to networkBill Owens2015-06-17
|
* esp8266: Move connect/disconnect from "esp" module to network.Paul Sokolovsky2015-06-12
|
* esp8266: Add skeleton "network" module.Paul Sokolovsky2015-06-12
MicroPython "network" module interface requires it to contains classes to instantiate. But as we have a static network interace, make WLAN() "constructor" just return module itself, and just make all methods module-global functions.