diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-02-13 19:26:17 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-10 09:24:54 +0700 |
commit | 9e8396accbcb695e2fe9def666bfb31b26efde06 (patch) | |
tree | 750e55c24d3f35707152bb143b073b9de88e1d6f /py/objint.h | |
parent | 9b5e05a7c793ae0f3817af3ecba63f7b02713dea (diff) | |
download | micropython-9e8396accbcb695e2fe9def666bfb31b26efde06.tar.gz micropython-9e8396accbcb695e2fe9def666bfb31b26efde06.zip |
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()).
Diffstat (limited to 'py/objint.h')
0 files changed, 0 insertions, 0 deletions