1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

172 Commits

Author SHA1 Message Date
Ivan Grokhotkov
810ab68ae5 Fix WiFiClientSecure::connected (#43)
thanks @whyameye
2015-11-09 01:37:22 +03:00
Ivan Grokhotkov
adb0dac077 Don't close UDP pcbs when WiFi connection drops (#969) 2015-11-07 23:52:59 +03:00
Marvin Roger
0b89b9b467 Fix FAILD typo 2015-11-06 14:17:45 +01:00
Martin Ayotte
6436a175c4 add dns_no argument to dnsIP() int ESP8266WiFi class 2015-10-18 14:22:24 -04:00
Martin Ayotte
7f318d72cf add dnsIP() to ESP8266WiFi class 2015-10-18 14:18:14 -04:00
Ivan Grokhotkov
0bd3b72550 Fix bug with SSLContext not being initialized (#43) 2015-10-07 01:01:38 +03:00
Pascal Gollor
f1dcfb2794 use String return for both SSID functions 2015-10-01 18:52:46 +02:00
Pascal Gollor
0034697b6e use String instead of char pointer for SSID() and psk() 2015-09-30 18:15:53 +02:00
Ivan Grokhotkov
ebdaedff4b More error checks in WiFiClientSecure 2015-09-28 19:32:45 +03:00
Ivan Grokhotkov
d137fa9c18 Merge pull request #802 from pgollor/SPIFFS-OTA
Flash SPIFFS over the air (OTA)
2015-09-28 18:11:09 +03:00
Pascal Gollor
b13095763d add function begin without any parameters and add functin psk to return current pre shared kex form sdk config 2015-09-28 16:48:06 +02:00
Ivan Grokhotkov
6b7b802706 Fix a crash due to abort() called from TCP error callback (#428) 2015-09-28 16:05:23 +03:00
Ivan Grokhotkov
82bb82a931 Merge pull request #794 from paulmand3l/esp8266
Adding getMode() function to WiFi library so I can easily get the current mode of the wifi.
2015-09-18 09:54:40 +03:00
Ivan Grokhotkov
378ce87441 Merge pull request #789 from Juppit/esp8266
Remove unused include time.h from ssl.h
2015-09-18 09:54:19 +03:00
Ivan Grokhotkov
e0da5a284f Merge pull request #753 from martinayotte/esp8266
add ESP8266WebServer::sendContent_P and ESP8266WebServer::send_P with contentLength
2015-09-18 09:54:04 +03:00
Paul Mandel
4719a31898 Rebasing into single commit
Adding getMode function to ESP8266WiFiClass.cpp

Adding getMode function to ESP8266WiFiClass.h

Changing return type of getMode to WiFiMode for clarity

Changing return type of getMode to WiFiMode for clarity

Add return typecast
2015-09-16 09:39:40 -07:00
Ivan Grokhotkov
5387b2286e WiFiClientSecure::available fix
Attempt to read data from SSL engine inside WiFiClientSecure::available() if RX buffer is empty.
Fix #784.
2015-09-16 16:24:52 +03:00
Juppit
6d6a26aea0 Remove unused include time.h from ssl.h
This include is not used by ssl.h but can be annoying.
If there is need for time.h it should be located in the esp8266 tree.
2015-09-15 23:46:15 +02:00
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
Martin Ayotte
348efba5b2 Merge remote-tracking branch 'upstream/esp8266' into esp8266 2015-09-09 10:54:30 -04:00
Markus Sattler
6a9eaca8b2 #754 fix _useClientMode & _useApMode in SDK auto connect mode 2015-09-07 17:11:30 +02:00
Martin Ayotte
e3e25da792 fix bug in WiFiClient::write_P/ESP8266WebServer::sendContent_P introduced few minutes ago when changing memccpy_P to memcpy_P 2015-09-06 14:04:57 -04:00
Martin Ayotte
389107f09d fix bug in WiFiClient::write_P when content was binary 2015-09-06 13:09:57 -04: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