<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/cc3200/mods/modnetwork.h, 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-07-31T08:35:40+00:00</updated>
<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>all: Unify header guard usage.</title>
<updated>2017-07-18T01:57:39+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-29T21:14:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=299bc625864b9e624ed599c94a5f95870516139a'/>
<id>urn:sha1:299bc625864b9e624ed599c94a5f95870516139a</id>
<content type='text'>
The code conventions suggest using header guards, but do not define how
those should look like and instead point to existing files. However, not
all existing files follow the same scheme, sometimes omitting header guards
altogether, sometimes using non-standard names, making it easy to
accidentally pick a "wrong" example.

This commit ensures that all header files of the MicroPython project (that
were not simply copied from somewhere else) follow the same pattern, that
was already present in the majority of files, especially in the py folder.

The rules are as follows.

Naming convention:
* start with the words MICROPY_INCLUDED
* contain the full path to the file
* replace special characters with _

In addition, there are no empty lines before #ifndef, between #ifndef and
one empty line before #endif. #endif is followed by a comment containing
the name of the guard macro.

py/grammar.h cannot use header guards by design, since it has to be
included multiple times in a single C file. Several other files also do not
need header guards as they are only used internally and guaranteed to be
included only once:
* MICROPY_MPHALPORT_H
* mpconfigboard.h
* mpconfigport.h
* mpthreadport.h
* pin_defs_*.h
* qstrdefs*.h
</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: Refactor and clean-up socket closing code.</title>
<updated>2015-07-10T09:37:50+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-07-10T09:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cf814b2d341d138c3f4d03bccb34576b7fa41a32'/>
<id>urn:sha1:cf814b2d341d138c3f4d03bccb34576b7fa41a32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Add modussl, ssl sockets subclassed from normal sockets.</title>
<updated>2015-07-02T14:30:00+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-06-11T18:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9a65fa304c151f796ecfd040b0744ed7cdc88537'/>
<id>urn:sha1:9a65fa304c151f796ecfd040b0744ed7cdc88537</id>
<content type='text'>
Stream methods were added to normal sockets as in the unix port.
</content>
</entry>
<entry>
<title>cc3200: Add socket.timeout and socket.error exceptions.</title>
<updated>2015-07-02T09:53:15+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-06-29T20:49:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f522849a4d5a978ac3d322d71a755f75d07e8ce6'/>
<id>urn:sha1:f522849a4d5a978ac3d322d71a755f75d07e8ce6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Remove NIC abstraction layer.</title>
<updated>2015-05-24T09:44:08+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-05-23T18:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3cb804de26eda34ad24d52b6c98fa43e51bd027a'/>
<id>urn:sha1:3cb804de26eda34ad24d52b6c98fa43e51bd027a</id>
<content type='text'>
That layer is nice, but the CC3200 doesn't need it and getting rid of
it saves ~200 bytes, which are more than welcome.
</content>
</entry>
<entry>
<title>cc3200: Finally unlock the full wake on WLAN feature set.</title>
<updated>2015-05-22T17:53:33+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-05-22T17:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed56b0baba47e4d0697fdc2d81310a9a2c34c5df'/>
<id>urn:sha1:ed56b0baba47e4d0697fdc2d81310a9a2c34c5df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Move some common mod_network_* functions to lib/netutils.</title>
<updated>2015-05-04T10:48:40+00:00</updated>
<author>
<name>Josef Gajdusek</name>
<email>atx@atx.name</email>
</author>
<published>2015-05-03T18:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04ee5983feadc6945e324eb54cd9e7f8c1d6aa8c'/>
<id>urn:sha1:04ee5983feadc6945e324eb54cd9e7f8c1d6aa8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Select NIC when the socket is created.</title>
<updated>2015-04-28T13:14:36+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-04-27T16:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d34c4784a55566cbf7e21e15a187d02d083cee00'/>
<id>urn:sha1:d34c4784a55566cbf7e21e15a187d02d083cee00</id>
<content type='text'>
This makes sense since only WLAN is supported here.
</content>
</entry>
</feed>
