summaryrefslogtreecommitdiffstatshomepage
path: root/drivers/cc3000/inc/patch_prog.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-30 22:29:49 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-30 22:36:47 +0100
commit3a1c4c5bc6212310f5c0469300263290758217d7 (patch)
tree17091c4aebe75be08f49f6cc8a77940bdd2f76e0 /drivers/cc3000/inc/patch_prog.h
parentbfa7b480a7a537fc5496c8d9ffbf560f3a02314d (diff)
downloadmicropython-3a1c4c5bc6212310f5c0469300263290758217d7.tar.gz
micropython-3a1c4c5bc6212310f5c0469300263290758217d7.zip
stmhal: Add network and usocket module.
As per issue #876, the network module is used to configure NICs (hardware modules) and configure routing. The usocket module is supposed to implement the normal Python socket module and selects the underlying NIC using routing logic. Right now the routing logic is brain dead: first-initialised, first-used. And the routing table is just a list of registered NICs. cc3k and wiznet5k work, but not at the same time due to C name clashes (to be fixed). Note that the usocket module has alias socket, so that one can import socket and it works as normal. But you can also override socket with your own module, using usocket at the backend.
Diffstat (limited to 'drivers/cc3000/inc/patch_prog.h')
0 files changed, 0 insertions, 0 deletions