Lars Englund
e09c939c42
Clean code and add example
2016-03-09 11:12:47 +01:00
Lars Englund
0426e000cf
Clean up
2016-03-09 09:59:17 +01:00
Lars Englund
42cb81938f
Changed to blocking behaviour
2016-03-08 15:26:23 +01:00
Lars Englund
d46f84821e
Basic query (and answer parsing) working
2016-03-07 14:25:31 +01:00
Ivan Grokhotkov
aa67d1c492
Pass errors from udp_sendto to WiFiUDP::endPacket ( #1696 )
2016-03-02 19:58:35 +03:00
Ivan Grokhotkov
33e5ca44df
WiFiClient: fix write behaviour when connection is closed by remote side
...
Don't wait for data to be ACKed if we have just called abort().
2016-03-02 17:53:42 +03:00
Ivan Grokhotkov
2c40d82459
WiFiClientSecure: implement connection timeout, fix connected method behaviour
2016-03-02 16:30:32 +03:00
Max Vilimpoc
7c8d9b2d8d
Add TestEspApi example, exercising the non-RTOS C API.
2016-02-27 12:59:08 +01:00
Ivan Grokhotkov
fbe58b7b14
WiFiClientSecure: don't panic if memory allocation fails
...
If it fails due to a malloc somewhere in bigint.c, we will still crash (although with a less obvious crash message). If it fails in increase_bm_data_size, axTLS will handle this and report that connection has been aborted. This error will be passed on to the user, so that an application can recover and attempt to reconnect.
2016-02-26 18:41:27 +03:00
Ivan Grokhotkov
fcf9c0d7ce
Verify domain name in WiFiClientSecure::verify
2016-02-26 18:41:27 +03:00
Markus Sattler
3e9dede14e
speed up WiFi.hostByName when the hostname is actually a IP.
2016-02-18 23:07:51 +01:00
Ivan Grokhotkov
88a20ae41a
Make compatible with arduino-builder
2016-02-15 13:56:14 +03:00
Assaf Inbal
728e2dfae9
Added 'text/cache-manifest' content type
2016-02-08 06:58:19 +02:00
Ivan Grokhotkov
3b2ea52d23
Merge pull request #1563 from mvdbro/master
...
Configurable I2C clock stretching limit
2016-02-04 17:46:27 +03:00
Ivan Grokhotkov
f3a4c0aa4d
Merge pull request #1560 from hallard/master
...
Changed arg, hasArg, header, hasHeader from const char * to String
2016-02-04 17:46:16 +03:00
Alex
573a0fb47f
Add LED_BUILTIN definition ( #1556 )
...
keep arduino incompatible BUILTIN_LED (+22 squashed commits)
[e124f9c] keep arduino incompatible BUILTIN_LED
[18dab66] keep arduino incompatible BUILTIN_LED
[0095de6] keep arduino incompatible BUILTIN_LED
[cca2714] keep arduino incompatible BUILTIN_LED
[ff62bfb] keep arduino incompatible BUILTIN_LED
[fd6f7c0] keep arduino incompatible BUILTIN_LED
[220b02a] keep arduino incompatible BUILTIN_LED
[b871b1b] keep arduino incompatible BUILTIN_LED
[1d97cac] keep arduino incompatible BUILTIN_LED
[ebc2667] changed BUILTIN_LED to LED_BUILTIN
[7008a27] changed BUILTIN_LED to LED_BUILTIN
[cf3f6da] changed BUILTIN_LED to LED_BUILTIN
[5e11c43] changed BUILTIN_LED to LED_BUILTIN
[8645bd5] changed BUILTIN_LED to LED_BUILTIN
[faae742] changed BUILTIN_LED to LED_BUILTIN
[df2659b] changed BUILTIN_LED to LED_BUILTIN
[1eb74d5] changed BUILTIN_LED to LED_BUILTIN
[fb9e977] changed BUILTIN_LED to LED_BUILTIN
[b735737] changed BUILTIN_LED to LED_BUILTIN
[d0557dd] changed BUILTIN_LED to LED_BUILTIN
[a25e4aa] changed BUILTIN_LED to LED_BUILTIN
[7865ace] changed BUILTIN_LED to LED_BUILTIN
2016-02-04 17:44:17 +03:00
Ivan Grokhotkov
1d149560be
Fix WiFi scan issue ( #1355 )
2016-02-04 01:19:29 +03:00
mvdbro
3f15903566
Configurable I2C clock stretching limit
...
Use Wire.setClockStretchLimit(limit)
limit is in uSeconds
2016-02-03 17:05:04 +01:00
Charles
4036e3a436
Changed header() to have string parameter instead of const char *
2016-02-03 13:48:35 +01:00
Charles
c74a7703d2
Changed Arg hasArg hasHeader from const char * to String
...
This permet calling these with const char *, String or PGM_P type
parameter
2016-02-03 12:04:03 +01:00
Charles
090c3e3533
Added arg_P hasArg_P and hasHeader_P
...
Added arg_P hasArg_P and hasHeader_P to be able to test arg from string
stored in flash
2016-02-03 05:29:21 +01:00
Markus Sattler
1060db94c2
handle possible dead lock in HTTP client see: #1520
2016-01-29 14:02:09 +01:00
Markus Sattler
27f1a63170
allow String for payload in HTTPclient sendRequest
2016-01-29 13:19:56 +01:00
Ivan Grokhotkov
85973cdc8c
Merge pull request #1501 from Links2004/master
...
fix #1499 - ESPhttpUpdate.updateSpiffs
2016-01-26 16:23:17 +03:00
Ivan Grokhotkov
74da596183
Merge pull request #1503 from Makuna/ServoValueRoundOffFix
...
Servo value read and write fixes
2016-01-26 16:22:48 +03:00
Ivan Grokhotkov
efc8dda160
Workaround for LwIP not handling ERR_ABRT
...
Described in detail here: https://github.com/esp8266/Arduino/wiki/LwIP-issue,-or-how-a-simple-%22if%22-can-go-wrong
2016-01-26 15:57:37 +03:00
Makuna
acb7dc0681
Servo value read and write fixes
...
Values that were written and then read would be different due to using
map.
If user defined a different min/max pulse width would cause the
read/write to incorrectly calculate the pulse width.
2016-01-25 16:01:43 -08:00
Markus Sattler
b2a6ab8059
#1499
2016-01-25 21:05:24 +01:00
Ivan Grokhotkov
ecdbda8796
Merge pull request #1401 from lp0/webserver-async1
...
WebServer: handle initial read/close timeouts asynchronously
2016-01-18 20:45:41 +03:00
Ivan Grokhotkov
e443b0ce3b
Merge pull request #1437 from timw1971/patch-2
...
Optimised _dirty flag.
2016-01-18 20:43:42 +03:00
Ivan Grokhotkov
a39b4825e0
Merge pull request #1440 from stefangordon/master
...
Include Arduino.h AFTER memory.h
2016-01-18 20:42:11 +03:00
Ivan Grokhotkov
8c3e1d00ee
Merge pull request #1451 from probonopd/patch-2
...
advertise all hosted services
2016-01-18 20:41:58 +03:00
andig
d605074005
Remove OneWire
2016-01-18 15:38:28 +01:00
Stefan Gordon
80dc5c11a4
Merge branch 'master' into master
2016-01-17 16:54:02 -08:00
probonopd
b2a92963d3
Merge branch 'master' into patch-2
2016-01-16 22:09:45 +01:00
probonopd
160f84a6f6
Make advertiseServices() private
2016-01-16 20:51:08 +01:00
probonopd
7a35ee4813
advertise all hosted services (written by me-no-dev)
2016-01-16 20:39:52 +01:00
probonopd
0b42f53bf4
advertise all hosted services
2016-01-16 20:37:06 +01:00
Markus Sattler
4247b646bb
Merge remote-tracking branch 'remotes/esp8266/master'
2016-01-16 14:01:19 +01:00
Markus Sattler
fb55e91118
fix #1368
2016-01-16 14:00:56 +01:00
Stefan Gordon
7f7a1ac420
Include Arduino.h AFTER memory.h
...
Arduino.h defines min/max which are then redefined with templates in stl_algobase.h imported from memory.h. This is the least impactful way I can find to get past this for now and unblock use of wificlient in more scenarios.
2016-01-15 12:02:08 -08:00
timw1971
b3a503a9ef
Optimised _dirty flag.
...
_dirty set only if the value being written is different from the existing value in the cache.
2016-01-15 15:15:22 +00:00
Ivan Grokhotkov
87c59b1ca2
Merge pull request #1413 from Links2004/master
...
fix unused warning #1407
2016-01-13 09:46:10 +03:00
Joost Jager
3d4e4f8cda
Merge branch 'master' into my_changes_on_2.1.0-rc1
2016-01-12 21:26:09 +01:00
Joost Jager
ae1409125f
Accept-Encoding missing comma added
2016-01-12 21:25:27 +01:00
Markus Sattler
b425eff683
#1407
2016-01-11 15:46:52 +01:00
Ivan Grokhotkov
fe558540f6
Merge pull request #1399 from wyattearp/master
...
Custom Device Type, Appropriate Responses, Custom TTL, and uint32_t Serial Number
2016-01-10 23:43:25 +03:00
Ivan Grokhotkov
47102201a8
Merge pull request #1096 from per1234/master
...
Unique Built-In libraries library.properties name
2016-01-10 23:41:54 +03:00
Ivan Grokhotkov
e8d60be62a
Merge pull request #1362 from shmuelzon/zero-content-length
...
A content length of zero should also be sent
2016-01-10 23:16:56 +03:00
Simon Arlott
d099404eb8
WebServer: handle initial read/close timeouts asynchronously
...
If there is a delay before data becomes available on a new connection
then the handler function blocks for up to 1 second, and there's another
wait on connection close for up to 2 seconds.
This doesn't make the whole server process asynchronous (there is another
delay between headers/data) but it helps when there are other events
that need attention while handling web requests.
2016-01-10 15:50:34 +00:00