<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/esp8266/modnetwork.c, branch 0.9.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.9.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-08T21:33:13+00:00</updated>
<entry>
<title>esp8266/modnetwork.c: Expose configuration for station DHCP hostname.</title>
<updated>2016-11-08T21:33:13+00:00</updated>
<author>
<name>Chris Popp</name>
<email>christopherpopp@yahoo.com</email>
</author>
<published>2016-10-30T16:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=52df2f889e3315a4ced5a81e80efbb138182cd1b'/>
<id>urn:sha1:52df2f889e3315a4ced5a81e80efbb138182cd1b</id>
<content type='text'>
The ESP SDK supports configuring the hostname that is
reported when doing a DHCP request in station mode.  This commit
exposes that under network.WLAN(network.STA_IF).config('dhcp_hostname')
as a read/write value similar to other parameters.
</content>
</entry>
<entry>
<title>esp8266/modnetwork.c: Allows AP reconnection without WiFi credentials</title>
<updated>2016-11-01T03:59:41+00:00</updated>
<author>
<name>puuu</name>
<email>puuu@users.noreply.github.com</email>
</author>
<published>2016-10-12T01:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b97c17e125b9eaf5dfa9a5d540175377c79e34fd'/>
<id>urn:sha1:b97c17e125b9eaf5dfa9a5d540175377c79e34fd</id>
<content type='text'>
There is no automatic reconnect after wlan.active(False);
wlan.active(True). This commit provide the possibility to run
wlan.connect() without parameter, to reconnect to the previously
connected AP.

resolve #2493
</content>
</entry>
<entry>
<title>esp8266/modnetwork: config(): Fix copy-paste error in setting "mac".</title>
<updated>2016-10-30T21:30:26+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-30T21:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e377f3cb40b34a562ff71753c112edec3d1bd4d1'/>
<id>urn:sha1:e377f3cb40b34a562ff71753c112edec3d1bd4d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>esp8266/modnetwork: Fix wlan.scan() method so it returns all networks.</title>
<updated>2016-09-06T05:30:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-06T05:30:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b4be5a8f3499ca19bdc9ac3ef94625529141b0ff'/>
<id>urn:sha1:b4be5a8f3499ca19bdc9ac3ef94625529141b0ff</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>esp8266/modnetwork: Use struct bss_info::ssid_len for ESSID length.</title>
<updated>2016-06-04T19:02:01+00:00</updated>
<author>
<name>Mark</name>
<email>markxr@gmail.com</email>
</author>
<published>2016-06-04T15:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=822e9ca8f3d2f63c7477bb7fb859b5d9ad948a3b'/>
<id>urn:sha1:822e9ca8f3d2f63c7477bb7fb859b5d9ad948a3b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>esp8266/modnetwork: Allow to press ctrl-C while scan() is running.</title>
<updated>2016-05-29T08:53:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-29T08:53:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6707fc94ae1b3b4227c514109b31c2e2eaba67e8'/>
<id>urn:sha1:6707fc94ae1b3b4227c514109b31c2e2eaba67e8</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>esp8266/modnetwork: Protect scan() callback against memory errors.</title>
<updated>2016-05-29T08:52:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-29T08:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=84381fa0fc3b8e461042710c5e7c348367ec4772'/>
<id>urn:sha1:84381fa0fc3b8e461042710c5e7c348367ec4772</id>
<content type='text'>
scan() allocates memory so may cause an exception to be raised.
</content>
</entry>
<entry>
<title>esp8266/modnetwork: scan() is only supported by STA when it's enabled.</title>
<updated>2016-05-28T23:35:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-28T23:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55df14f1a4ae6c0f963f75aafc21689ba4dd824d'/>
<id>urn:sha1:55df14f1a4ae6c0f963f75aafc21689ba4dd824d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266: Convert to use new MP_Exxx errno symbols.</title>
<updated>2016-05-10T22:30:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-10T22:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4f2ba9fbdcbafd7ae09199186320f4173bcc8c31'/>
<id>urn:sha1:4f2ba9fbdcbafd7ae09199186320f4173bcc8c31</id>
<content type='text'>
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.
</content>
</entry>
</feed>
