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

594 Commits

Author SHA1 Message Date
Markus Sattler
0ed104f028 add WiFi Event example 2015-12-29 14:38:13 +01:00
Markus Sattler
373da3df6b allow hook WiFi events from sketch 2015-12-29 14:33:10 +01:00
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
Denver Abrey
80857e3f87 Also set timeout on already existing connections 2015-12-27 20:02:08 +02:00
Denver Abrey
d1a6b32133 Allow setting TCP timeout 2015-12-27 19:45:17 +02:00
Markus Sattler
195e595453 add setSleepMode + getSleepMode and setPhyMode + getPhyMode to WiFi 2015-12-26 13:02:31 +01:00
George Talusan
1e264047f9 better bytesWritten accounting in sendRequest and writeToStream 2015-12-23 11:29:59 -05:00
Markus Sattler
467da7c50f better error handling 2015-12-23 12:54:44 +01:00
Markus Sattler
b845d03b89 Merge remote-tracking branch 'remotes/esp8266/master' into httpClient 2015-12-23 12:50:19 +01:00
Ivan Grokhotkov
7f4dd52ed1 GDBStub: fix packet end not being sent for some exceptions 2015-12-23 12:10:01 +03:00
Ivan Grokhotkov
1c7b81660b Merge pull request #1289 from gtalusan/short_writes
handle short writes
2015-12-23 10:15:57 +03:00
Ivan Grokhotkov
9a1b9058e3 Merge pull request #1287 from gtalusan/master
fix debug message in sendRequest
2015-12-23 10:15:09 +03:00
Ivan Grokhotkov
0603f31330 Merge pull request #1288 from gtalusan/fix_debug_build
fix debug build
2015-12-23 10:14:21 +03:00
Ivan Grokhotkov
2d70b36212 Fix warning due to lack of virtual destructor 2015-12-23 10:13:41 +03:00
George Talusan
70c85c0901 handle short writes 2015-12-22 21:31:30 -05:00
George Talusan
742caa10ec fix debug build 2015-12-22 20:29:19 -05:00
George Talusan
35d2e49c3b fix debug message in sendRequest 2015-12-22 20:13:35 -05: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
d77e605461 http client allow slow streams for sendRequest
fix part of #1274
2015-12-22 10:43:12 +01:00
Thomas Schüßler
05aed73bca Send the message count and chip ID with the request/response. 2015-12-21 19:00:44 +01:00
Ivan Grokhotkov
2d81ee290a Merge pull request #1242 from edog1973/master
mDNS fixes and enhancements
2015-12-20 10:11:28 +03:00
Markus Sattler
5a4ced251d add check for magic header of bin before update is started.
see: #1250
2015-12-19 14:39:07 +01: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
Eric Wilkison
c40cb79ec2 -replace char _hostName[63], char _instanceName[63], and char _txt[128] with Strings. Calling enableArduino allocates four TXT records, and there is quite an overhead of storing tcp_check=no inside an 128-byte buffer. Plus you gain flexibility by supporting TXT records larger than 128 bytes. Host and instance names should also be less than 63 characters most of the time.\n-move definitions of struct MDNSService and struct MDNSTxt to .cpp file, and use forward declaratio 2015-12-18 11:37:53 -08:00
Markus Sattler
02e6b2fc16 setMD5 has now returns bool
handle setMD5 failed in HTTP update
reset UpdaterClass when MD5 check failed
see: #1244
2015-12-18 08:30:35 +01:00
Ivan Grokhotkov
8f2ce1e7b9 Update GDBStub library with the source of esp-gdbstub 2015-12-18 10:00:44 +03: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
fa485cd88f Merge pull request #1231 from Makuna/ServoDetachFixes
Fix detach and attach
2015-12-18 08:45:37 +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
Eric Wilkison
f7d8a027e8 Fix begin overwriting instancename 2015-12-17 14:29:15 -08:00
Eric Wilkison
99b3e2df26 remove debug code 2015-12-17 14:13:03 -08:00
Ivan Grokhotkov
5b012b2040 Update heap function defines in LwIP headers 2015-12-17 23:29:29 +03:00
Makuna
2425ee3413 Fix detach and attach
detaching could leave a running timer which would cause issues.
Further, detaching could truncate the last pulse causing a invalid
movement.
This change moves detaching into the ISR so it can maintain the last
pulse and not start any more timers if not needed.
2015-12-16 15:17:53 -08:00
Markus Sattler
28dd31a80f add advanced error handling for HTTP update
see: #1111
2015-12-16 23:05:23 +01:00
Martin Ayotte
481d74ba86 add show_hidden argument to scanNetworks() 2015-12-16 12:06:29 -05:00
Markus Sattler
b9d0807a56 only malloc needed ram if we know the response size and its less then 1460 2015-12-16 00:48:35 +01:00
Markus Sattler
b8769bf5eb HTTP Client move buffer (1460 Byte) from stack to heap. 2015-12-16 00:36:11 +01:00
Eric Wilkison
8d9f174826 Add human readable instance name property 2015-12-15 13:29:59 -08:00
Eric Wilkison
971bd9b75c Change addServiceTxt to key/val pair 2015-12-15 06:05:35 -08:00
Eric Wilkison
758107f35d Add TXT support 2015-12-15 05:39:49 -08:00
Eric Wilkison
f34f84be74 Fix add multiple services 2015-12-15 05:17:53 -08:00