Standa Opichal
28f5c403f7
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-01-21 22:14:33 +01:00
Rhys.Williams
1db1205aaa
get wifi startup working - default on fresh flash is AP mode
2017-01-12 18:35:35 +13:00
Rhys.Williams
bb3d7e7317
wifi save - work as per ESP8266
2017-01-12 17:34:55 +13:00
Rhys.Williams
a8208d17ac
Remove ESP_LOG statements - change to jsWarn and jsError
2017-01-12 16:51:34 +13:00
Rhys.Williams
471e86ffcb
remove arduino libs dependancy (spi commented out)
2017-01-10 21:33:05 +13:00
Rhys.Williams
947f552529
remove arduino libs dependancy (spi commented out)
2017-01-10 21:14:29 +13:00
Rhys.Williams
fade63d7a1
Fix regression where HTTPS without cert/ca or key failed
2016-12-21 18:33:21 +13:00
Gordon Williams
fc38156998
Fix regression where HTTPS without cert/ca or key failed
2016-12-20 09:25:29 +00:00
Rhys.Williams
08dddc3eb6
more work on spi code, add E.getTemperature();
2016-12-18 17:22:02 +13:00
Rhys.Williams
c17b486042
Updates for ESP-idf SDK 1.0
2016-12-05 16:44:04 +13:00
Rhys.Williams
9c99e9ff3a
take out telnet as not yet working, port opens but no chars sent or recieved
2016-11-24 15:03:20 +13:00
Rhys.Williams
49a5a03d5e
Remove unused wifi flash references
2016-11-24 12:22:36 +13:00
Rhys.Williams
58eee3d07d
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)
2016-11-24 12:09:34 +13:00
Gordon Williams
aeebfb1409
Started using jsvObjectRemoveChild to remove some internal object properties that are undefined (frees some variables)
2016-11-07 17:07:47 +00:00
kolban
ad6dd5fbb0
Additional implementation of getDetails() and getStatus()
2016-11-01 19:15:42 -05:00
kolban
18fdf8dd32
Fix for becoming a station while also being an access point.
2016-10-30 13:06:41 -05:00
kolban
094d7ee644
Addition of wifi.stopAP()
2016-10-30 13:00:12 -05:00
kolban
2dfaf676b4
Addition of wifi.startAP
2016-10-30 10:50:27 -05:00
kolban
196139560c
Addition of network scanning.
2016-10-30 00:34:33 -05:00
Gordon Williams
325ec8e48d
Fix potential issues with Telnet server and return values from netCreateSocket/netAccept on some platforms ( fix #931 )
2016-10-24 14:17:25 +01:00
kolban
cdd17089fb
Addition of wifi.on(sta_joined) and wifi.on(sta_left)
2016-10-19 22:55:35 -05:00
kolban
4fe2c91c08
Addition of wifi.on(connected) implementation
2016-10-19 22:36:14 -05:00
kolban
fe1f067e6b
Addition of on(associated) logic.
2016-10-19 17:40:29 -05:00
kolban
618174a9c8
Implementation of wifi.on(disconnect)
2016-10-18 23:00:18 -05:00
Gordon Williams
c91d30afbe
squishing warnings
2016-10-13 11:40:18 +01:00
kolban
8a37a74483
Progress on more network additions.
2016-10-12 00:16:36 -05:00
kolban
03e7e2c760
First pass at underlying network setup.
2016-10-11 20:03:19 -05:00
kolban
55a7664f37
Impl of wifi.getIp() and wifi.getStatus()
2016-10-11 19:01:25 -05:00
kolban
07eff2d5d9
Addition of callback handlers for connect and disconnect events.
2016-10-11 00:15:31 -05:00
kolban
9247b2f763
First steps in ESP32 WiFi.
2016-10-10 22:58:13 -05:00
kolban
565285410b
Initial files for the ESP32 environment.
2016-10-09 22:53:20 -05:00
Gordon Williams
351e779cdc
docs
2016-09-26 16:01:10 +01:00
Thorsten von Eicken
38c368422e
update travis.yaml for esp8266; update readme_flash; fix #901
2016-09-16 23:33:15 -07:00
Thorsten von Eicken
8eec73937a
support new esp8266 binary format and check partition on OTA upgrade
2016-09-16 23:19:58 -07:00
Thorsten von Eicken
8b637fe6f6
Merge pull request #6 from espruino/master
...
merge v1.87 release into tve's fork
2016-09-16 22:07:30 -07:00
Gordon Williams
1906b92750
Sockets now fire 'end' events ( fix #886 )
2016-09-12 14:49:35 +01:00
Thorsten von Eicken
1f2723fb41
change Telnet class to TelnetServer, try 2
2016-09-02 13:07:32 -07:00
Thorsten von Eicken
d150355df6
change Telnet class to TelnetServer
2016-09-02 13:06:59 -07:00
Victor Nakoryakov
3f0e69020c
fix: http.get leak via "method" field duplicate
2016-08-16 11:51:37 +03:00
MaBecker
73fbc7336d
fix jswrap_ESP8266_ping
2016-07-10 14:42:09 +02:00
Thorsten von Eicken
c7cd61c59b
fix ping on esp8266
2016-07-08 00:55:26 -07:00
Gordon Williams
5f0bb738ba
Add 'force' to 'Serial.setConsole' - you can force the console to stay in one place
2016-06-02 11:12:43 +01:00
Thorsten von Eicken
2c8c866f1b
esp8266: exception code cleanup; jswsym code cleanup; eliminate compiler warnings
2016-04-17 09:46:32 -07:00
Thorsten von Eicken
4493b09eef
fix esp8266 compiler warnings
2016-04-17 08:46:08 -07:00
Thorsten von Eicken
23d8b78eca
merge upstream into tve's fork
2016-04-16 12:12:01 -07:00
Gordon Williams
5dd5d901d1
replace NewWithFlags with jsvNewXXX - saves a few bytes by killing repetition
2016-03-04 12:54:18 +00:00
Gordon Williams
3c54e85d99
Fix lock 'leak' in Telnet when Telnet is turned off
2016-03-03 15:59:31 +00:00
Gordon Williams
7bb37f4306
Compile Telnet server into linux by default, Add '--telnet' command-line option to enable it
2016-03-03 12:43:24 +00:00
Thorsten von Eicken
56099e1e54
fix #812 : make telnet switch back to prior console device
2016-02-27 08:46:40 -08:00
Thorsten von Eicken
7eb6c66d90
fix #809 esp8266 socket close
2016-02-26 00:02:32 -08:00