Commit 00c4d65
Daniel Campora
cc3200: Add nic.iwconfig() to set/get WLAN configuration.
Changes are based on this post:
micropython#876 (comment)
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)1 parent e86b471 commit 00c4d65
4 files changed
Lines changed: 293 additions & 305 deletions
0 commit comments