diff options
author | Daniel Campora <daniel@wipy.io> | 2015-08-05 13:36:29 +0200 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-08-09 19:22:12 +0200 |
commit | 00c4d6562ec2dbb494e9c26dce86f99f95a82d70 (patch) | |
tree | c53a499a65a1d16c310b1d8bb7f44347950aeaa5 /esp8266/utils.h | |
parent | e86b47175fb0dc0992e46f48117d29e3f40969c1 (diff) | |
download | micropython-00c4d6562ec2dbb494e9c26dce86f99f95a82d70.tar.gz micropython-00c4d6562ec2dbb494e9c26dce86f99f95a82d70.zip |
cc3200: Add nic.iwconfig() to set/get WLAN configuration.
Changes are based on this post:
https://github.com/micropython/micropython/issues/876#issuecomment-115255551
The constructor can optionally take the same params of iwconfig in
order to configure WiFi when creating the object. Params are
keyworkd only. The WiPy accepts:
- mode (int -> WLAN.AP or WLAN.STA)
- ssdi (string)
- security (int -> WLAN.OPEN, WLAN.WEP, WLAN.WPA, WLAN.WPA2)
- key (string)
- channel (int (1-11))
- antenna (int -> WLAN.INTERNAL, WLAN.EXTERNAL)
Diffstat (limited to 'esp8266/utils.h')
0 files changed, 0 insertions, 0 deletions