28 Commits

Author SHA1 Message Date
Standa Opichal
bb13604e6b Added SocketType argument to net->createsocket() method. 2017-06-23 22:51:56 +02:00
Standa Opichal
cb98cd8405 Dropped NetCreateFlags in favor of SocketType
* SocketType declaration moved to network.h
2017-06-23 22:50:21 +02:00
kolban
03e7e2c760 First pass at underlying network setup. 2016-10-11 20:03:19 -05:00
Gordon Williams
34326d03b9 Allow different types of network to have different buffer sizes - enlarge JS, Linux and WIZnet buffers 2016-01-15 18:37:54 +00:00
Gordon Williams
0d77cb3bc8 Add optional for server public key when using HTTPS (see #736) 2015-11-27 13:03:19 +00:00
Gordon Williams
37ebb25235 More tweaks - should now work with async 2015-11-18 17:25:04 +00:00
Gordon Williams
dc784cf0fc abstract socket comms 2015-11-16 17:50:29 +00:00
Thorsten von Eicken
fb2f317a87 fix esp8266 missed network changes 2015-09-27 10:04:42 -07:00
Gordon Williams
7b088b6ba5 remove built-in ESP8266 module support - was very broken and JS implementation is better 2015-09-21 18:06:09 +01:00
Gordon Williams
a11edb58f9 more warning removal 2015-06-01 18:13:14 +01:00
Gordon Williams
af3bf54737 Allow MAC address to be set for WIZnet (fix #527) 2015-05-01 13:33:17 +01:00
Gordon Williams
cbe4067493 start of JS-based network stuff 2015-03-13 16:48:47 +00:00
Gordon Williams
f4584e7a22 esp8266 request now working 2015-01-13 18:34:47 +00:00
Gordon Williams
eb8ffc5f4a Fix network de-initialisation on Linux 2014-11-03 10:18:12 +00:00
Gordon Williams
c046d5654c now much nearer working 2014-09-12 18:52:29 +01:00
Gordon Williams
09b834f755 Merge branch 'master' into ESP8266 2014-09-12 13:25:55 +01:00
Gordon Williams
f8b7a3b6dc allow specification of SPI + pin names 2014-09-12 13:10:20 +01:00
Gordon Williams
44c37c3f78 different pins for network devices 2014-09-12 11:10:10 +01:00
Gordon Williams
07a67b4f3c first commit - lots to do 2014-09-11 14:24:11 +01:00
Gordon Williams
adb58a6796 Move hidden lists out of the root scope (fix #357) 2014-07-01 14:33:10 +01:00
Gordon Williams
8f849c978e Force reconnect on CC3000 disconnect (fix #373) 2014-05-14 11:40:02 +01:00
Gordon Williams
61d5dafbf9 Added DNS with eth.setIP() for W5500. Also misc refactoring 2014-03-26 17:33:48 +00:00
Gordon Williams
2b5bca9985 Trying to make Wiznet and CC3000 play nice together. Looks like socket functions with the same name (eg. setsockopt) are causing us grief now 2014-03-06 15:39:38 +00:00
Gordon Williams
a6fa405442 Epic networking refactor - it should now be possible to support multiple network devices in a single binary 2014-03-06 14:59:18 +00:00
Gordon Williams
f93f82c68d refactoring to call functions via struct 2014-03-06 13:49:16 +00:00
Gordon Williams
99dc80a91b Now compiling for all targets, working on CC3000 and Linux, failing on WIZnet 2014-03-06 11:40:03 +00:00
Gordon Williams
a04a8c153a first stab at refactoring to handle multiple network types 2014-02-24 12:52:43 +00:00
Gordon Williams (u36)
5be63cf1c3 Stop Espruino board from crashing if you try to create a web server without a connected CC3k (fix #182) 2014-01-21 18:38:35 +00:00