55 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
Harry Morgan
cc56f3a80a change jsError() to jsExceptionHere(). Suppress jsiConsolePrintf() for HTTPS connections 2017-04-07 18:48:49 +03:00
Gordon Williams
8aa637c24e Fix regression where HTTPS without cert/ca or key failed 2017-02-16 17:32:08 +13:00
Rhys.Williams
fade63d7a1 Fix regression where HTTPS without cert/ca or key failed 2016-12-21 18:33:21 +13:00
kolban
03e7e2c760 First pass at underlying network setup. 2016-10-11 20:03:19 -05:00
Gordon Williams (u36)
dc5cd0df3c Allow a function to be called to retrieve key/certificate 2016-01-20 17:24:02 +00:00
Gordon Williams (u36)
671407b205 careless - remove debug print 2016-01-20 16:42:54 +00:00
Gordon Williams (u36)
a14b992c7e make sure Malloc clears allocated memory first, also some code duplication and dangling lock fixes 2016-01-20 16:18:30 +00:00
Gordon Williams (u36)
d968917965 Improve malloc behaviour for crypto lib (try and free all command history is first alloc fails)
Improve HTTPS error messages
2016-01-20 13:00:14 +00:00
Gordon Williams
7b3933fa5d fix warnings 2015-12-08 15:42:13 +00:00
Luke Van Horn
b7ee1f21f3 add option to read cert files from file system 2015-12-01 15:16:44 -05:00
Gordon Williams
210fbe13ff Add optional ca,key, and cert for server public key when using HTTPS or TLS (fix #736) 2015-11-27 13:52:42 +00:00
Gordon Williams
0d77cb3bc8 Add optional for server public key when using HTTPS (see #736) 2015-11-27 13:03:19 +00:00
kolban
6f470b1608 #722 Updated to used improved MAC address string construction. 2015-11-26 15:20:04 -06:00
Gordon Williams
4111ee167a Rename USE_HTTPS to USE_TLS, and enable by default for Pico + Linux
Add 'tls' module with 'connect' - for TLS Socket connections
2015-11-19 17:02:06 +00:00
Gordon Williams
3db2f75ea1 Now automatically allocating all required data in JsVars 2015-11-18 18:38:42 +00:00
Gordon Williams
37ebb25235 More tweaks - should now work with async 2015-11-18 17:25:04 +00:00
Gordon Williams
25a72857d0 more tidyup 2015-11-18 16:51:54 +00:00
Gordon Williams
5408695d07 minor refactor to hopefully allow per-socket connections soon 2015-11-18 16:07:13 +00:00
Gordon Williams
2760040a26 changes to stop full stdlib being pulled in 2015-11-17 14:17:07 +00:00
Gordon Williams
8c8f84380a compile HTTPS support only if requested with USE_HTTPS 2015-11-17 12:46:18 +00:00
Gordon Williams
215c936e82 remove dependency on net 2015-11-17 11:38:18 +00:00
Gordon Williams
8cdc75fa28 first slightly hacky (but working) HTTPS implementation 2015-11-17 11:17:03 +00:00
Gordon Williams
dc784cf0fc abstract socket comms 2015-11-16 17:50:29 +00:00
Neil Kolban
cb11ad9b6d Works for issue #589. Inclusion of dnsServers option. 2015-10-26 23:21:12 -05:00
Neil Kolban
57f8e422a5 Doc updates and comments. 2015-10-23 22:14:56 -05:00
Neil Kolban
1ae02cdcf6 Unix EOL marker. Issue #600. 2015-10-05 23:52:12 -05:00
Neil Kolban
6dcfc779f8 Removed all the \brief additions. Issue #600. 2015-10-05 23:41:01 -05:00
Thorsten von Eicken
e263ff43e0 merge upstream master into tve's fork 2015-10-03 23:00:46 -07:00
Thorsten von Eicken
0e316320ab make Flash work for esp8266 2015-10-01 22:28:05 -07:00
Neil Kolban
3ca5aa1961 Document standard compliances 2015-09-30 18:39:37 -05:00
Neil Kolban
ff96368123 Initial implementation of gethostbyname using the ESP SDK. 2015-09-28 19:57:22 -05: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
80ce11135a I love Eclipse global regex replace :)
Use jsvUnLock2/etc to really drop memory usage
2015-09-18 12:25:07 +01:00
Gordon Williams
a11edb58f9 more warning removal 2015-06-01 18:13:14 +01:00
Gordon Williams
1cb37fbcd9 Fix Mac address parsing for top nibbles 2015-05-05 09:25:45 +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
0ff273e68f arduino compile tweaks 2014-08-07 11:04:55 +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
61d5dafbf9 Added DNS with eth.setIP() for W5500. Also misc refactoring 2014-03-26 17:33:48 +00:00