<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/cc3200/mods/modusocket.c, branch 2.0.0-rc.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.0.0-rc.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.0.0-rc.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-21T11:34:23+00:00</updated>
<entry>
<title>all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.</title>
<updated>2017-08-21T11:34:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-21T11:34:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ec803a42ae3080d4af959c7c2edf81e57f79377'/>
<id>urn:sha1:4ec803a42ae3080d4af959c7c2edf81e57f79377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>cc3200/modusocket: Fix connect() when in non-blocking or timeout mode.</title>
<updated>2017-07-11T06:16:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-11T06:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d55d8805aca614ddafdc4a76abc87af60b1371f'/>
<id>urn:sha1:4d55d8805aca614ddafdc4a76abc87af60b1371f</id>
<content type='text'>
Non-blocking connect on the CC3100 has non-POSIX behaviour and needs to be
modified to match standard semantics.
</content>
</entry>
<entry>
<title>cc3200: Initialise variable to zero to prevent compiler warnings.</title>
<updated>2017-06-20T07:14:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-20T07:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e6782428becd3163aa978d889adb78cb9c014b09'/>
<id>urn:sha1:e6782428becd3163aa978d889adb78cb9c014b09</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Make non-zero socket timeout work with connect/accept/send.</title>
<updated>2017-06-20T06:52:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-20T06:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1686346d53051d77daa662f7cc85614cc4ada06a'/>
<id>urn:sha1:1686346d53051d77daa662f7cc85614cc4ada06a</id>
<content type='text'>
The CC3100 only allows to set a timeout for receiving data, not for accept,
connect or send.  But it can set non-blocking for all these operations and
this patch uses that feature to implement socket timeout in terms of non-
blocking behaviour combined with a loop.
</content>
</entry>
<entry>
<title>cc3200/modusocket: Simplify socket.makefile() function.</title>
<updated>2017-06-14T07:40:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-06-14T07:40:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=696fcde8009b3670e5c4e867600c17a916f9a3b0'/>
<id>urn:sha1:696fcde8009b3670e5c4e867600c17a916f9a3b0</id>
<content type='text'>
Following how extmod/modlwip.c does it.
</content>
</entry>
<entry>
<title>all: Use full path name when including mp-readline/timeutils/netutils.</title>
<updated>2017-03-31T11:29:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-31T11:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b6c7e4b143d96ff9f84ccb22d83b1e15ab084250'/>
<id>urn:sha1:b6c7e4b143d96ff9f84ccb22d83b1e15ab084250</id>
<content type='text'>
This follows the pattern of how all other headers are now included, and
makes it explicit where the header file comes from.  This patch also
removes -I options from Makefile's that specify the mp-readline/timeutils/
netutils directories, which are no longer needed.
</content>
</entry>
<entry>
<title>cc3200: Update for changes to mp_obj_str_get_data.</title>
<updated>2017-03-29T01:56:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-26T06:35:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3a77342719bf056cdc51dc898745909b513f0c77'/>
<id>urn:sha1:3a77342719bf056cdc51dc898745909b513f0c77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Remove socket.timeout class, use OSError(ETIMEDOUT) instead.</title>
<updated>2017-02-22T04:08:32+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T04:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=047af9b10bfc6b0ec412f8450c6bec10ab95254b'/>
<id>urn:sha1:047af9b10bfc6b0ec412f8450c6bec10ab95254b</id>
<content type='text'>
socket.timeout is a subclass of OSError, and using the latter is more
efficient than having a dedicated class.  The argument of OSError is
ETIMEDOUT so the error can be distinguished from other kinds of
OSErrors.  This follows how the esp8266 port does it.
</content>
</entry>
<entry>
<title>cc3200/mods/modusocket: Init vars to 0 to silence compiler warnings.</title>
<updated>2017-02-22T03:58:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T03:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d03f089baa674e046da10891be338d14346f8a3a'/>
<id>urn:sha1:d03f089baa674e046da10891be338d14346f8a3a</id>
<content type='text'>
Some compilers can't analyse the code to determine that these variables
are always set before being used.
</content>
</entry>
</feed>
