1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

151 Commits

Author SHA1 Message Date
Ivan Grokhotkov
c528a44f1a Temporary fix for #780 2015-09-15 12:43:45 +03:00
Ivan Grokhotkov
f73d414f38 WiFiClientSecure: add certificate fingerprint verification (#43) 2015-09-14 10:22:54 +03:00
Ivan Grokhotkov
c970dec6a7 Add HTTPS request sample (#43) 2015-09-13 22:50:14 +03:00
Ivan Grokhotkov
098c71ca02 Improve receive handling in TLS support (#43) 2015-09-13 22:49:30 +03:00
Markus Sattler
6a9eaca8b2 #754 fix _useClientMode & _useApMode in SDK auto connect mode 2015-09-07 17:11:30 +02:00
Ivan Grokhotkov
9a2f2f2849 Add axTLS, first draft of WiFiClientSecure (#43) 2015-09-01 15:45:12 +03:00
Ivan Grokhotkov
a9fbe27cba Merge pull request #729 from Links2004/esp8266
fix mac 599 for ESP8266HTTPUpdate
2015-08-31 09:38:28 +03:00
Ivan Grokhotkov
4995d03b20 Merge pull request #714 from martinayotte/esp8266
add toCharArray() to IPAddress class
2015-08-31 09:37:22 +03:00
Markus Sattler
f96ea403dd port stopAllExcept to WiFiUDP to keep the interface the same 2015-08-29 15:39:12 +02:00
Markus Sattler
966bf45b35 rename stopAllexcepted to stopAllExcept and simplify the compare 2015-08-29 15:33:41 +02:00
Markus Sattler
79bec479b5 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/Updater.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/include/ClientContext.h
2015-08-29 13:47:25 +02:00
Markus Sattler
8e50cdb190 Updater.cpp:
- use new AutoInterruptLock
 - add delay to give the RTOS some time to handle TCP

WiFiClient.cpp
 - add stopAllexcepted to cancel all TCP excepted one

ClientContext.h
 - add getLocalPort()

ESP8266HTTPUpdate.cpp
 - close all not needed TCP and UDP

osapi.h
 - missing commit from SDK
2015-08-29 13:45:58 +02:00
Martin Ayotte
e89ae46a6b add WiFiClient::write_P to be used with PROGMEM 2015-08-22 00:25:28 -04:00
aalku
acc34e2914 LocalIP/LocalPort support 2015-08-19 13:18:43 +03:00
Ivan Grokhotkov
7bfd425754 Update to SDK 1.3.0 2015-08-10 10:51:09 +03:00
Bertus Kruger
735fa18ad6 Fixed wrongly pasted Comment 2015-07-29 20:29:20 +12:00
Markus Sattler
c33e2a60db Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-07-23 17:27:30 +02:00
Ivan Grokhotkov
11594b1340 Fix optimistic_yield usage (#588) 2015-07-22 22:50:26 +03:00
Ivan Grokhotkov
e5d2ba5db8 Pass timeout to optimistic_yield, add cont_can_yield check 2015-07-20 15:48:25 +03:00
Markus Sattler
9fd139bb8c add debug out to ESP8266WiFiMulti::APlistAdd 2015-07-19 17:50:56 +02:00
Markus Sattler
c6dc58a311 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-07-16 12:28:38 +02:00
Ivan Grokhotkov
01361fc4c8 Merge pull request #552 from Protoneer/patch-1
Changed Telnet Port to port 23
2015-07-16 09:50:09 +03:00
Makuna
17de2d7a4e define in header
remove extern from cpp files
2015-07-15 16:32:49 -07:00
Bertus Kruger
ef9b324ffd Changed Telnet Port to port 23
Best to stick to standard port numbers
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
2015-07-14 09:04:12 +12:00
Makuna
d815c36753 optimistic_yield()
this introduces optimistic_yield() used for when standard library
methods are normally used in tight loops waiting for something to
happen, like available().
2015-07-13 13:47:13 -07:00
Markus Sattler
fe9ef36861 add softAPdisconnect function ``int softAPdisconnect(bool wifioff = false);``
external mode calls now change the use flags
see #529
2015-07-13 10:50:41 +02:00
Markus Sattler
2937b21c9c add basic WPS function 2015-07-07 18:24:55 +03:00
Markus Sattler
505ba22e05 allow setting the host name of AP interface 2015-07-07 18:09:58 +03:00
Markus Sattler
d4ddb66fc4 update SDK to v1.2.0_15_07_03 2015-07-07 18:09:23 +03:00
Ivan Grokhotkov
a82796f83f Revert a460efb 2015-07-06 12:22:30 +03:00
Ivan Grokhotkov
6f63ad1ee4 Fix return value of WiFiClient::connect (#511) 2015-07-06 08:02:24 +03:00
Anwar Hahj Jefferson-George
212a2cfa60 Update ESP8266WiFi.h 2015-06-29 18:04:25 +03:00
Anwar Hahj Jefferson-George
389e5fb878 Update ESP8266WiFi.cpp 2015-06-29 18:04:19 +03:00
Ivan Grokhotkov
fc83952685 Merge pull request #438 from Links2004/esp8266
update SDK to esp_iot_sdk_v1.1.2_15_06_16_p1
2015-06-26 20:33:02 +03:00
Me No Dev
f8895d1a61 Merge pull request #10 from esp8266/esp8266
Esp8266
2015-06-26 12:16:06 +03:00
John Doe
9bb29fc777 fix wifiAP, ip_addr redeclaration and TFT SPI 2015-06-26 12:12:26 +03:00
Markus Sattler
3a34aa61e0 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/Esp.cpp
2015-06-25 20:02:37 +02:00
Ivan Grokhotkov
565c7aeac0 Less debug output from slist 2015-06-25 00:13:55 +03:00
Markus Sattler
fdb723cbad Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_main.cpp
2015-06-23 13:08:05 +02:00
Ivan Grokhotkov
b029e78a67 Fix for wifi disconnect handling (#431) 2015-06-22 13:59:12 +03:00
Markus Sattler
1f1497264b disable WiFi DEBUG_WIFI_MULTI
add _min and _max define as workaround
2015-06-20 20:55:08 +02:00
Markus Sattler
874cf0ef98 fix exception 28 in AP + STA mode and STA disconnect
UDP triggers exception 28
2015-06-20 18:36:19 +02:00
Peter Newman
b7451114fd Don't wait for a connection to an AP when we're supposed to be the AP. 2015-06-19 20:57:19 +03:00
Markus Sattler
fe1b39fa0e update AVR src
* java code not tested *

Merge remote-tracking branch 'remotes/arduino/master' into esp8266

Conflicts:
	README.md
	app/src/processing/app/AbstractMonitor.java
	arduino-core/src/processing/app/Serial.java
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/library.properties
2015-06-17 14:24:25 +02:00
Markus Sattler
9a1ff7f70d add WiFi scan Async mode 2015-06-16 18:26:34 +02:00
Ivan Grokhotkov
c51acf2a32 Fix tcp error handler 2015-06-11 18:11:26 +03:00
Ivan Grokhotkov
e6e57a8b81 Better handling of wifi disconnect (#231)
When network interface is down, some nasty things happen, for instance tcp_connect returns without ever calling error callback.
This change adds some workarounds for that: before doing a tcp connect and DNS resolve we check if there is a route available.
Also added a listener for wifi events which stops (aborts) all the WiFiClients and WiFiUDPs when wifi is disconnected. This should
help libraries detect disconnect properly.
2015-06-11 18:01:33 +03:00
Markus Sattler
51cd867af3 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 15:43:33 +02:00
Dario Di Maio
7f66a3a415 Remove unnecessary ICACHE_FLASH_ATTR 2015-06-05 15:58:44 +03:00
Markus Sattler
1544a6ad0f Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-06-05 14:47:34 +02:00