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
Eric Wilkison
d45294efff
fix invalid packets, removes compression
2015-12-15 05:07:57 -08: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
4dd5d8cf7d
allow control of restart on http update
...
#1202
2015-12-13 23:04:27 +01:00
Markus Sattler
9a096f828d
Merge remote-tracking branch 'remotes/esp8266/master'
2015-12-10 12:26:15 +01:00
Markus Sattler
fdadadc787
add default values for updateSpiffs
2015-12-10 12:03:53 +01:00
Markus Sattler
55afeba174
see #1167
...
add close and stop as alias
2015-12-10 12:02:49 +01:00
Markus Sattler
839b150b97
Merge remote-tracking branch 'remotes/esp8266/master' into httpUpdate
2015-12-10 11:48:44 +01:00
Christopher Pascoe
a7609bce35
Remove double include of cbuf.h.
2015-12-09 22:17:50 -08:00
Markus Sattler
95089b75b9
fix startUpdate always false
2015-12-09 19:56:14 +01:00
Markus Sattler
b1ea7b602e
httpUpdate Improve error handling
2015-12-09 16:27:04 +01:00
Markus Sattler
ce4edcb423
Merge branch 'master' into httpUpdate
2015-12-09 15:41:55 +01:00
Markus Sattler
0a4da83243
HTTPClient add Authorization example
2015-12-09 14:27:51 +01:00
Markus Sattler
85341ff25a
HTTPClient phasing username + password from url
2015-12-09 14:19:28 +01:00
Markus Sattler
a9ce1b4f2e
add Authorization support for HTTP client
2015-12-09 13:51:55 +01:00