<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/examples, branch travis-esp8266</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=travis-esp8266'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-08-05T22:59:51+00:00</updated>
<entry>
<title>examples/network: Split recv- and read-based HTTP servers.</title>
<updated>2016-08-05T22:59:51+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-05T22:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d19adf9b323d6b1f907e6825f19b35670bad0d1'/>
<id>urn:sha1:3d19adf9b323d6b1f907e6825f19b35670bad0d1</id>
<content type='text'>
Name recv() based a "simplistic", as it can't work robustly in every
environment. All this is to let people concentreate on proper, read()-
based one (and to turn recv() based into a "negative showcase",
explaining what are the pitfalls of such approach).
</content>
</entry>
<entry>
<title>tests/machine_mem.py: Too non-portable, rework as an example for unix port.</title>
<updated>2016-07-31T01:22:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-31T01:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eb0e3bab1ed5aa09e491641f427a5d637fe688bd'/>
<id>urn:sha1:eb0e3bab1ed5aa09e491641f427a5d637fe688bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/http_client*: Be sure to close socket.</title>
<updated>2016-07-22T21:41:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-22T21:41:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=614deb82c7e2ab23cfd718a8be6514026714e316'/>
<id>urn:sha1:614deb82c7e2ab23cfd718a8be6514026714e316</id>
<content type='text'>
Otherwise, on bare-metal/RTOS systems can lead to resource leaks.
</content>
</entry>
<entry>
<title>examples/embedding: Add README.</title>
<updated>2016-07-22T19:13:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-15T23:30:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d4cfc2ee6dc84397b04bcc4855d730c221af661'/>
<id>urn:sha1:4d4cfc2ee6dc84397b04bcc4855d730c221af661</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/embedding: Example for embedding MicroPython in an app.</title>
<updated>2016-07-22T19:13:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-15T22:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1e77e25675d27da641722f384ffe55060fcc9960'/>
<id>urn:sha1:1e77e25675d27da641722f384ffe55060fcc9960</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/http_server*: Update for buffered-like streams (read line by line).</title>
<updated>2016-07-10T20:01:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-10T20:01:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3f0f31e07091642a938d7f243f5803588e409b1'/>
<id>urn:sha1:e3f0f31e07091642a938d7f243f5803588e409b1</id>
<content type='text'>
Since "read-exactly" stream refactor, where stream.read(N) will read
exactly N bytes (unless EOF), http_server* examples can't any longer do
client_socket.read(4096) and expect to get full request (it will block
on HTTP/1.1 client). Instead, read request line by line, as the HTTP
protocol requires.
</content>
</entry>
<entry>
<title>examples/unix/ffi_example.py: Remove TODO, make output more clear.</title>
<updated>2016-06-17T16:24:58+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-17T16:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=70536212d5ea1dd265ad72ee2eaff333b17815f6'/>
<id>urn:sha1:70536212d5ea1dd265ad72ee2eaff333b17815f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/unix/ffi_example.py: Update for current "ffi" module API.</title>
<updated>2016-06-17T16:21:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-06-17T16:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecfd8e102d07a1558ffca571dbcbdf309deecf9a'/>
<id>urn:sha1:ecfd8e102d07a1558ffca571dbcbdf309deecf9a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>examples/network/: Use getaddrinfo() result in easy way.</title>
<updated>2016-05-02T21:45:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-02T21:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c2d885501ff08f017634412b159b03ed923e119f'/>
<id>urn:sha1:c2d885501ff08f017634412b159b03ed923e119f</id>
<content type='text'>
Instead of extracting 4th element, extact last. Much easier to remember!
</content>
</entry>
<entry>
<title>examples/http_server_ssl.py: HTTPS server example.</title>
<updated>2016-04-28T18:39:17+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-04-28T18:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8fcfaf6f220ca9645b4429d756b3646c298d6466'/>
<id>urn:sha1:8fcfaf6f220ca9645b4429d756b3646c298d6466</id>
<content type='text'>
</content>
</entry>
</feed>
