1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-24 08:45:10 +03:00

213 Commits

Author SHA1 Message Date
Markus Sattler
fd443d4e17 split ESP8266WiFiClass in different sub classes for better overview. 2015-12-29 14:03:15 +01:00
Markus Sattler
6f00503bc3 add reconnect function for STA 2015-12-28 20:19:36 +01:00
Markus Sattler
cee4ef3078 less static stuff 2015-12-28 20:13:56 +01:00
Markus Sattler
64326f9573 rework mode management
may fixes: #1138
2015-12-28 19:30:56 +01:00
Markus Sattler
d521cea232 reorder part 3 2015-12-28 17:55:38 +01:00
Markus Sattler
20de9a5673 reorder part two 2015-12-28 17:38:58 +01:00
Markus Sattler
49b0821beb reorder part one 2015-12-28 17:22:36 +01:00
Markus Sattler
b1b19299bb mode docu to cpp and make it doxygen compatible 2015-12-28 17:02:09 +01:00
Markus Sattler
09a7940006 code style 2015-12-28 16:36:55 +01:00
George Talusan
c3de2851c0 fix undefined DEBUG_TLS_MEM_PRINT hiding return statement 2015-12-27 21:36:48 -05:00
Markus Sattler
195e595453 add setSleepMode + getSleepMode and setPhyMode + getPhyMode to WiFi 2015-12-26 13:02:31 +01:00
Ivan Grokhotkov
ee2d4495fd Additional check in wl_definitions.h to guard against duplicate definitions 2015-12-22 14:08:17 +03:00
Markus Sattler
5333ebfed7 add function peekBytes to WiFiClient/WiFiClientSecure to allow to peek multiple bytes if possible 2015-12-19 14:37:36 +01:00
Ivan Grokhotkov
2b941f5e2c Merge pull request #1239 from esp8266/sdk-1.5
Update to SDK 1.5 (#1102)
2015-12-18 09:31:00 +03:00
Ivan Grokhotkov
695583ec62 Merge pull request #1220 from asez73/master
Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
2015-12-18 08:45:04 +03:00
Ivan Grokhotkov
5b012b2040 Update heap function defines in LwIP headers 2015-12-17 23:29:29 +03:00
Martin Ayotte
481d74ba86 add show_hidden argument to scanNetworks() 2015-12-16 12:06:29 -05:00
asez73
4be40bc5fa Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
Improves the convenience of the verification of fingerprints.
As ':' are commonly inserted by web browser inside the SHA1 of https web sites, this created false problems with signatures "not matching".
Now, copied and pasted signature from Firefox simply because the verify function will skipped them...
2015-12-15 11:41:29 +01:00
Markus Sattler
55afeba174 see #1167
add close and stop as alias
2015-12-10 12:02:49 +01:00
Christopher Pascoe
a7609bce35 Remove double include of cbuf.h. 2015-12-09 22:17:50 -08:00
Ivan Grokhotkov
5cd42a0316 WiFiClientSecure: don't trash certificate and private key on stop() 2015-12-09 09:23:47 +03:00
Ivan Grokhotkov
3d1fbc60ab Replace chain of UDP pbufs with a single pbuf before sending (#1009)
Packets up to 1492 bytes may be sent this way.
Also reduced pbuf_unit_size to 128 bytes.
2015-12-06 20:22:54 +03:00
Martin Ayotte
e166e85f73 oupps ! I forgot to set the timout value 2015-12-06 09:47:00 -05:00
Martin Ayotte
6fa70bda01 replace delay with while loop in WiFiClient.ino 2015-12-06 09:42:51 -05:00
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