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

189 Commits

Author SHA1 Message Date
Markus Sattler
cedce24bf3 rename to WiFiClientBasic 2015-12-04 19:07:51 +01:00
Markus Sattler
34571a0e9d typo 2015-12-04 18:20:40 +01:00
Markus Sattler
2ebc7c9dc1 Merge remote-tracking branch 'remotes/esp8266/master' 2015-12-04 18:18:57 +01:00
Markus Sattler
8cec66b23b add a simple TCP example 2015-12-04 18:18:23 +01:00
Ivan Grokhotkov
14b70e9328 Allow setting client side TLS key and certificate 2015-12-04 19:02:46 +03:00
Me No Dev
55e94f346f Merge remote-tracking branch 'esp8266/master' 2015-11-25 18:11:23 +02:00
Me No Dev
a44632b8cf make compiler happier 2015-11-25 18:11:16 +02:00
Ivan Grokhotkov
6be74ec95e Fix softAP issue introduced in 40da463 (#1054) 2015-11-25 18:29:34 +03:00
Markus Sattler
c8aac83c47 add :del message to unref 2015-11-22 22:39:58 +01:00
Ivan Grokhotkov
ab16b2fe0d Fix typo 2015-11-21 20:09:18 +03:00
Ivan Grokhotkov
40da463ee6 ESP8266WiFi library: add persistent option, fix #1054 2015-11-21 20:06:10 +03:00
Ivan Grokhotkov
8bf1e98f24 Improve debug output on critical errors 2015-11-21 20:04:38 +03:00
Markus Sattler
74e6e9e1a9 Merge remote-tracking branch 'remotes/esp8266/master' 2015-11-17 18:42:14 +01:00
Ivan Grokhotkov
e9f0ea2afe WiFiClientSecure: handle full size TLS fragments (#43)
- free up some memory by getting rid of intermediate buffer
- libaxtls: update to 6830d98
    - allocate plaintext buffer in two stages: 4*MSS initially, grow to 16k after handshake
    - free certificate data after handshake is complete
    - preallocate some structures to reduce memory fragmentation
2015-11-17 02:47:57 +03:00
Markus Sattler
83b452b824 add missing WiFiClientSecure include in ESP8266WiFi.h 2015-11-16 19:28:59 +01:00
Ivan Grokhotkov
5b28ae23c2 Allow WiFiServer to bind to a specific address (#997)
In addition to the existing constructors (WiFiServer::WiFiServer(port) and WiFiWebServer::WiFiWebServer(port)), new constructors are added:
WiFiServer::WiFiServer(IPAddress, port) and WiFiWebServer::WiFiWebServer(IPAddress, port).
2015-11-15 20:35:52 +03:00
Ivan Grokhotkov
77428baddc WiFiClientSecure rx overflow fixes
- Increase plaintext rx buffer size to 4096
- Request more data from axtls only when rx buffer is empty
2015-11-15 22:38:06 +03:00
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