142 Commits

Author SHA1 Message Date
Thorsten von Eicken
c5f883c921 expand esp8266 network tests 2015-12-06 13:29:29 -08:00
Thorsten von Eicken
a1418c0863 fix save/restore for esp8266 2015-12-06 13:26:41 -08:00
Thorsten von Eicken
5bbe045945 optimize esp8266 sockets; fix #741, #720 #681 #595 2015-12-06 08:50:51 -08:00
Thorsten von Eicken
06c389ad45 tweak esp8266 wifi reset and saving 2015-12-05 08:58:39 -08:00
Thorsten von Eicken
95654eda04 fix esp8266 reset & wifi interaction 2015-12-05 00:00:47 -08:00
Thorsten von Eicken
144bf2e020 fix getHostByName bug; add docs 2015-12-04 21:02:22 -08:00
Thorsten von Eicken
8d5518a54d fix wifi event descriptions 2015-12-03 23:25:42 -08:00
Thorsten von Eicken
ad4a6d1e86 improve wifi lib tests and fix lib 2015-12-02 00:41:50 -08:00
Thorsten von Eicken
6f23e1e818 added esp8266 network config save to flash; added crc32 function 2015-12-01 00:22:55 -08:00
Thorsten von Eicken
d089730ecb moved wrap_esp8266 stuff from networking to target 2015-11-29 09:49:30 -08:00
Thorsten von Eicken
b1984400c9 fix wifi connect callback to match docs 2015-11-29 09:32:01 -08:00
Thorsten von Eicken
89d8c09b7e esp8266: eliminate esp8266wifi class, refacor wifi class 2015-11-29 01:06:49 -08:00
kolban
59bbe375ef #722 Implementation of getAPIP() and mac address retrieval. 2015-11-29 01:06:04 -08:00
Thorsten von Eicken
1be478dd32 esp8266: move lots of string constants to flash 2015-11-23 17:42:10 -08:00
Neil Kolban
fcc1c53256 #595 First phase of implementation of reconnectCB. 2015-11-12 17:06:22 -06:00
Neil Kolban
71d19752ee Changes requested for #606. 2015-11-10 10:56:17 -06: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
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
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
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
Neil Kolban
ddfc7d4793 Implementation of #642 and #643 2015-10-12 21:30:01 -05:00
Thorsten von Eicken
9234117bd4 reduce OTA chatter; fix wiflash 2015-10-11 14:30:18 -07:00
Thorsten von Eicken
34512a7223 merge master into tve/ota 2015-10-11 14:07:56 -07:00
Thorsten von Eicken
229097c520 add esp8266 OTA firmware update 2015-10-11 14:02:59 -07:00
Neil Kolban
51508dd221 Implementation of a WiFi changes.
A number of issues have been addressed here including:

#640 - Addition of stopAP
#637 - Don't require a password when being an access point
#636 - Ensure password meets requirements
2015-10-09 18:07:08 -05:00
Gordon Williams
f3535fa59f Merge branch 'master' of github.com:espruino/Espruino
Conflicts:
	libs/network/esp8266/jswrap_esp8266.c
2015-10-09 08:46:35 +01:00
Gordon Williams
198efd02d9 Merge branch 'master' of github.com:espruino/Espruino
Conflicts:
	libs/network/esp8266/jswrap_esp8266.c
2015-10-09 08:45:22 +01:00
Neil Kolban
f511b70bd0 Typo correction. 2015-10-08 15:18:35 -05:00
Neil Kolban
cae3e971e7 Added unlocks for other functions. #603
It dawned on me that other callback functions beyond connect might
suffer the same lack of proper reset support and, sure enough, there
were a few including:

* scanCallback
* wifiEventCallback
* pingCallback

These have now been accommodated.
2015-10-08 15:17:06 -05:00
Neil Kolban
ebd6d90935 Addition of kill support for unlocking vars. #603 2015-10-08 15:04:41 -05:00
Neil Kolban
da89887b29 Addition of copyright commentary. #632. 2015-10-08 12:51:21 -05:00
Gordon Williams
71fb3f0843 tweaks needed so docs for the website can be compiled again 2015-10-08 16:31:35 +01:00
Neil Kolban
d7efbe2b43 Implementation of DHCP set hostname. Issue #629. 2015-10-07 23:07:09 -05:00