- 21 Sep, 2016 1 commit
-
-
Damien George authored
One can instead lookup __name__ in the modules dict to get the value.
-
- 06 Sep, 2016 1 commit
-
-
Damien George authored
According to the Arduino ESP8266 implementation the first argument to the wifi scan callback is actually a bss_info pointer. This patch fixes the iteration over this data so the first 2 entries are no longer skipped. Fixes issue #2372.
-
- 04 Jun, 2016 1 commit
-
-
Mark authored
Instead of calling strlen(), which won't work if there're 32 chars in returned ESSID. struct bss_info::ssid_len is not documented in SDK API Guide, but is present in SDK headers since 1.4.0. Just in case, previous code is left commented.
-
- 29 May, 2016 2 commits
-
-
Damien George authored
Ctrl-C will raise a KeyboardInterrupt and stop the scan (although it will continue to run in the background, it won't report anything). If interrupted, and another scan() is started before the old one completes in the background, then the second scan will fail with an OSError.
-
Damien George authored
scan() allocates memory so may cause an exception to be raised.
-
- 28 May, 2016 1 commit
-
-
Damien George authored
-
- 10 May, 2016 1 commit
-
-
Damien George authored
These symbols are still defined in terms of the system Exxx symbols, and can be switched to internal numeric definitions at a later stage. Note that extmod/modlwip still uses many system Exxx symbols.
-
- 02 May, 2016 2 commits
-
-
Paul Sokolovsky authored
Querying/setting MAC address is pretty adhoc operation to belong to .config() instead of taking a whole method on its own.
-
Paul Sokolovsky authored
Network interfaces are now controlled individually using .active() method.
-
- 28 Apr, 2016 1 commit
-
-
Aex Aey authored
Allow setting ip, netmask, gw and dns server (also, allows getting dns). For docs see: https://github.com/micropython/micropython/commit/06deec9
-
- 20 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 19 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 11 Apr, 2016 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 05 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 01 Apr, 2016 1 commit
-
-
Paul Sokolovsky authored
-
- 30 Mar, 2016 1 commit
-
-
Damien George authored
That is: aps = if0.scan() TODO: make sure that returned list has tuple with values in "standard" order (whatever that standard is).
-
- 10 Mar, 2016 6 commits
-
-
Paul Sokolovsky authored
These are expected to be passed to network.WLAN() to instantiate network interface objects.
-
Paul Sokolovsky authored
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"))
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
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.
-
Paul Sokolovsky authored
-
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()).
-
- 02 Mar, 2016 1 commit
-
-
Damien George authored
-
- 27 Dec, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 21 Dec, 2015 1 commit
-
-
Paul Sokolovsky authored
-
- 15 Sep, 2015 1 commit
-
-
Bill Owens authored
-
- 20 Jun, 2015 1 commit
-
-
Bill Owens authored
-
- 17 Jun, 2015 1 commit
-
-
Bill Owens authored
-
- 12 Jun, 2015 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
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.
-
- 01 Jan, 2015 1 commit
-
-
Damien George authored
Addresses issue #1022.
-
- 29 Nov, 2014 1 commit
-
-
Damien George authored
This is just a clean-up of the code. Generated code is exactly the same.
-
- 27 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
array.array and bytearray share big deal of code, so to get real savings, both need to be disabled.
-
- 21 Jun, 2014 1 commit
-
-
Paul Sokolovsky authored
It defines types used by all other headers. Fixes #691.
-
- 19 Jun, 2014 1 commit
-
-
Emmanuel Blot authored
-
- 03 May, 2014 1 commit
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
- 26 Apr, 2014 1 commit
-
-
Damien George authored
-
- 05 Apr, 2014 1 commit
-
-
Damien George authored
Towards addressing issue #424. Had a small increase to ROM usage (order 60 bytes).
-