wilberforce
41830f3659
fix ESP32 'Not connected to the internet'
2017-07-23 13:32:40 +12:00
MaBecker
ffbc6bd8f4
fix issue #753
2017-07-21 14:46:11 +02:00
MaBecker
fdda1059c5
fix issue #1037
...
fix found by @iotong
2017-07-21 12:41:59 +02:00
Standa Opichal
1e32a11e0a
Align getting sendData with its jsvUnLock
...
Both the sendData jsvObjectGetChild() and jsvUnLock() are in the
same `if (!connectionCloseNow)` code block.
2017-06-30 14:10:41 +02:00
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
Gordon Williams
8a98f53958
fix typo
2017-06-15 15:33:11 +01:00
Gordon Williams
d335ba0e31
update docs
2017-05-12 16:01:00 +01:00
Gordon Williams
38cb9eab9f
Add Array.indexOf fromIndex support ( fix #162 )
2017-05-05 13:46:58 +01:00
Gordon Williams
20a4448891
add Socket.write docs on binary data
2017-05-05 11:48:47 +01:00
Gordon Williams
c09739f663
Remove duplicate JSON code and WiFi functions in reference, fix #1155
2017-04-29 19:02:51 +01:00
Gordon Williams
9d9f0177af
Ensure NetworkJS reports receive errors back correctly
2017-04-28 16:08:44 +01:00
Gordon Williams
f00bd435c9
Fix regression causing multiple end/close callbacks when using standard TCP/IP socket client/server
2017-04-28 10:36:11 +01:00
Gordon Williams
8f8f0a0f71
Fix duplicate docs for ESP8266.ping - and broken ESP32 function (even though it's not implemented atm)
2017-04-21 08:20:23 +01:00
Gordon Williams
954f2c0b1e
Merge pull request #1143 from MaBecker/master
...
push ESP8266 addons and changes to master
2017-04-19 08:14:21 +01:00
Gordon Williams
33dd8eb137
Merge pull request #1132 from amperka/handleSSLerror
...
change jsError() to jsExceptionHere(). Suppress jsiConsolePrintf() for HTTPS connections
2017-04-18 10:41:21 +01:00
MaBecker
7bc5093fca
update ESP8266_4MB.py plus dependencies
2017-04-17 10:02:04 +02:00
MaBecker
2f98f5f08b
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# boards/ESP8266_4MB.py
# libs/network/esp8266/jswrap_esp8266_network.c
# make/family/ESP8266.make
# make/targets/ESP8266.make
# targets/esp8266/jshardware.c
2017-04-16 21:35:35 +02:00
MaBecker
ca820c353a
update ESP8266_4MB
2017-04-16 21:22:59 +02:00
MaBecker
4343ca5b6e
merge upstream from origin/master
2017-04-14 21:40:41 +02:00
MaBecker
342dff719c
update to 4MB 1024/1024
...
- wifi and save code in first partition
- flash a single 1MB file for 4MB boards to first partition
- add 2MB to FlashArea, 4x256K and 1x1024K
2017-04-14 21:29:22 +02:00
Harry Morgan
cc56f3a80a
change jsError() to jsExceptionHere(). Suppress jsiConsolePrintf() for HTTPS connections
2017-04-07 18:48:49 +03:00
wilberforce
f5d188c08d
Merge remote-tracking branch 'origin/master' into ESP32
2017-04-07 08:27:40 +12:00
Gordon Williams
cdf3ceda51
Merge branch 'master' of github.com:espruino/Espruino
2017-04-06 08:21:40 +01:00
Gordon Williams
2baa3f9cb3
Change name of socket close internal variable so it doesn't conflict with Pipe's close call
2017-04-06 08:20:56 +01:00
wilberforce
821afc6210
remove ESP_LOG calls
2017-04-04 18:39:24 +12:00
wilberforce
110ec01a40
ESP32: remove telnet debug
2017-04-02 14:43:38 +12:00
MaBecker
07a5717611
merge upstream from origin/master
2017-02-28 07:24:55 +01:00
MaBecker
81204d6b15
use 0x200000 as save section and 0x300000 as flash section
2017-02-27 22:42:46 +01:00
MaBecker
6421b97f5e
add save areas for FLASH_4MB_C1
2017-02-27 07:50:56 +01:00
MaBecker
096b745764
add type cases to get ride of compiler warnings
2017-02-26 22:20:37 +01:00
Rhys.Williams
6e52c6b30b
Set valid pins to 'input' on start up, Add telnet debugging - yay telnet working!
2017-02-22 00:32:12 +13:00
Rhys.Williams
dde21f544c
major update to bring ESP32 branch upto current master 1v91.381
2017-02-16 19:48:31 +13:00
Rhys.Williams
a8c025c9e4
remove arduino libs dependancy (spi commented out)
2017-02-16 17:42:48 +13:00
Rhys.Williams
7099b84468
Allow single byte read from flash so that save() works
...
Implement `wifi.save()` and `wifi.restore()` using inbuilt API (rather than save to flash like ESP8266)
2017-02-16 17:40:42 +13:00
kolban
e41040993c
Initial files for the ESP32 environment.
2017-02-16 17:40:08 +13:00
MaBecker
2387b4a43f
add setIP and setAPIP
2017-02-16 17:32:52 +13:00
MaBecker
99f184a113
set NET_DBG 0 if def RELEASE
...
do not include NET debug statements when using RELEASE=1
2017-02-16 17:32:51 +13:00
MaBecker
cb31c99a57
set WIFI_DBG 0 if def RELEASE
...
do not include Wifi debug statements when using RELEASE=1
2017-02-16 17:32:51 +13:00
Standa Opichal
c697f4af33
Make sntpSync use setTime() not to break setInterval()
...
The setTime() properly sets the jsiLastIdleTime which is used
in the _jswrap_interface_setTimeoutOrInterval to trigger timers.
Update the time only when the mDNS returns non-null value.
2017-02-16 17:32:49 +13:00
Gordon Williams
8aa637c24e
Fix regression where HTTPS without cert/ca or key failed
2017-02-16 17:32:08 +13:00
Gordon Williams
64cc612c23
Started using jsvObjectRemoveChild to remove some internal object properties that are undefined (frees some variables)
2017-02-16 17:26:49 +13:00
Gordon Williams
7709199114
Fix potential issues with Telnet server and return values from netCreateSocket/netAccept on some platforms ( fix #931 )
2017-02-16 17:25:05 +13:00
Gordon Williams
eaae791624
squishing warnings
2017-02-16 17:23:42 +13:00
Rhys.Williams
d7d36fd794
jshreset, re-organise hardware start up
2017-02-12 20:21:37 +13:00
Gordon Williams
7be1ecf6ed
Merge pull request #1032 from MaBecker/patch-1
...
set WIFI_DBG 0 if def RELEASE
2017-01-26 11:14:14 +00:00
Gordon Williams
ddc607b5db
Merge pull request #1033 from MaBecker/patch-2
...
set NET_DBG 0 if def RELEASE
2017-01-25 08:58:57 +00:00
MaBecker
eabffa4032
add setIP and setAPIP
2017-01-24 14:19:46 +00:00
MaBecker
7c5c9b9004
set NET_DBG 0 if def RELEASE
...
do not include NET debug statements when using RELEASE=1
2017-01-23 23:28:07 +01:00
MaBecker
ee8463da9a
set WIFI_DBG 0 if def RELEASE
...
do not include Wifi debug statements when using RELEASE=1
2017-01-23 22:30:06 +01:00