468 Commits

Author SHA1 Message Date
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
929274c2bd bug in mbedtls? won't build with just RSA 2015-11-17 11:01:45 +00:00
Gordon Williams
dc784cf0fc abstract socket comms 2015-11-16 17:50:29 +00:00
Gordon Williams
6dcce44354 fix IV initialisation 2015-11-16 16:24:30 +00:00
Gordon Williams
158e5ad9b5 added configurable hashes 2015-11-16 16:12:04 +00:00
Gordon Williams
79136dc131 Make sure PBKDF2 uses SHA512 2015-11-16 15:26:35 +00:00
Gordon Williams
907ae16027 allow lower key sizes for PBKDF2 2015-11-16 14:49:39 +00:00
Gordon Williams
c7104a1e5e Fixed instability when resetting after using SD card on non-standard pins 2015-11-16 14:49:18 +00:00
Neil Kolban
fcc1c53256 #595 First phase of implementation of reconnectCB. 2015-11-12 17:06:22 -06:00
Gordon Williams
471b8e15ff Merge pull request #692 from nkolban/master
#606. Initial framework for hardware SPI for ESP8266.
2015-11-10 17:16:24 +00:00
Neil Kolban
71d19752ee Changes requested for #606. 2015-11-10 10:56:17 -06:00
Gordon Williams
1cdec0aec1 doc tweaks 2015-11-09 09:19:04 +00:00
Gordon Williams
3d5ea30469 added SHA1 and CFB, CTR and ECB AES modes. Moved encrypt/decrypt to require('crypto').AES.encrypt 2015-11-05 17:37:30 +00:00
Gordon Williams
e4a62cd6ad Merge branch 'master' into AES 2015-11-05 16:31:46 +00:00
Gordon Williams
7c836a517b Merge branch 'master' of github.com:espruino/Espruino 2015-11-03 12:57:05 +00:00
Gordon Williams
b5aa747596 don't auto-add newline to rx data 2015-11-02 13:15:18 +00:00
Neil Kolban
73d6e30b30 Issue #689. Fixes for memory leaks in wifi.scan(). 2015-10-31 12:19:42 -05:00
Neil Kolban
c3f9948ff5 Issue #688. Fixes for #688. 2015-10-30 23:44:31 -05:00
Neil Kolban
ce07d7b9fe Issue #589. Design and implementation of wifi.getStatus(). 2015-10-29 23:07:58 -05:00
Gordon Williams (u36)
d2b51ab411 target 16 and 32k devices
swap Bluetoth functions to NRF
Add Bluetooth as a proper serial device
Add auto-swap to bluetooth when connected
2015-10-29 17:15:01 +00:00
Gordon Williams (u36)
64fa3a82d0 Merge branch 'master' into NRF 2015-10-29 14:47:22 +00:00
Neil Kolban
f10b99d605 Issue #589. Changes to the default modes of connect and createAP. 2015-10-28 22:10:50 -05:00
Neil Kolban
cb11ad9b6d Works for issue #589. Inclusion of dnsServers option. 2015-10-26 23:21:12 -05:00
Gordon Williams (u36)
9362edb33c hacks for TinyBLE board. No USART, but BLE 2015-10-26 17:32:28 +00:00
Gordon Williams (u36)
30c0941d19 add bluetooth console, try and remove dependence on board 2015-10-26 14:23:13 +00:00
Neil Kolban
700415b0a8 Fixes and enhancements to #589 and #630. 2015-10-25 13:30:30 -05:00
Neil Kolban
d754fa33cd Issue #589. Addition of authMode to createAP.
The `createAP` method allows us to become an access point.  This
commit adds the ability to specify an `authMode` to allow us to 
define the incoming authentication mode to be used.
2015-10-24 18:51:04 -05:00
Neil Kolban
dcd5b34f23 More implementation and fixes for Issues #589 and #630. 2015-10-24 18:06:20 -05:00
Neil Kolban
23846eed72 Initial work on issue #589. Generic WiFi interface.
The first pass of the generic WiFi interface has been performed. We
now have implementations for:

* jswrap_ESP8266_wifi_connect
* jswrap_ESP8266_wifi_createAP
* jswrap_ESP8266_wifi_disconnect
* jswrap_ESP8266_wifi_getIP
* jswrap_ESP8266_wifi_scan
2015-10-24 10:55:12 -05:00
Neil Kolban
57f8e422a5 Doc updates and comments. 2015-10-23 22:14:56 -05:00
Gordon Williams
38266b4889 allowed Serial pins and baud to be specified, fixed BLE send 2015-10-21 16:36:02 +01:00
Neil Kolban
6d660c8af7 Implementation of #590. Implementation of gethostbyname. 2015-10-19 23:00:59 -05:00
Neil Kolban
b866ab37d1 Fix for #673. Assert through not freeing currentTxBuffer. 2015-10-18 17:45:44 -05:00
Neil Kolban
7151c38c5a Merge remote-tracking branch 'refs/remotes/espruino/master' 2015-10-17 00:55:17 -05:00
Neil Kolban
60d468ca50 Fixed Unix LF errors. 2015-10-16 18:32:10 -05:00
Neil Kolban
0ae876fe13 Fixes for #670. JsVar leaks on WiFi Event Handler. 2015-10-16 17:31:06 -05:00
Thorsten von Eicken
512de5d5bb esp8266 uart clean-up 2015-10-15 22:02:08 -07:00
Thorsten von Eicken
23d80a4939 esp8266: switch OTA to 512 byte chunks 2015-10-15 12:47:03 -07:00
Thorsten von Eicken
354cbb13ff disable mdns for now 2015-10-15 12:46:34 -07:00
Thorsten von Eicken
ef72504444 merge master into i2c branch 2015-10-14 23:14:54 -07:00
Thorsten von Eicken
644673752c fix OTA upgrade 2015-10-14 23:07:39 -07:00
Neil Kolban
3f45fa4ccb Implementation of #655.
This commit provides the first pass at debug log enablement/disablement.
2015-10-13 11:55:50 -05:00
Neil Kolban
314b0542ce Merge remote-tracking branch 'refs/remotes/espruino/master' 2015-10-12 22:01:21 -05:00