aa67d1c492
Pass errors from udp_sendto to WiFiUDP::endPacket ( #1696 )
2016-03-02 19:58:35 +03:00
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
2c40d82459
WiFiClientSecure: implement connection timeout, fix connected method behaviour
2016-03-02 16:30:32 +03:00
7c8d9b2d8d
Add TestEspApi example, exercising the non-RTOS C API.
2016-02-27 12:59:08 +01:00
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
fcf9c0d7ce
Verify domain name in WiFiClientSecure::verify
2016-02-26 18:41:27 +03:00
3e9dede14e
speed up WiFi.hostByName when the hostname is actually a IP.
2016-02-18 23:07:51 +01:00
88a20ae41a
Make compatible with arduino-builder
2016-02-15 13:56:14 +03:00
728e2dfae9
Added 'text/cache-manifest' content type
2016-02-08 06:58:19 +02:00
3b2ea52d23
Merge pull request #1563 from mvdbro/master
...
Configurable I2C clock stretching limit
2016-02-04 17:46:27 +03:00
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
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
1d149560be
Fix WiFi scan issue ( #1355 )
2016-02-04 01:19:29 +03:00
3f15903566
Configurable I2C clock stretching limit
...
Use Wire.setClockStretchLimit(limit)
limit is in uSeconds
2016-02-03 17:05:04 +01:00
4036e3a436
Changed header() to have string parameter instead of const char *
2016-02-03 13:48:35 +01:00
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
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
1060db94c2
handle possible dead lock in HTTP client see: #1520
2016-01-29 14:02:09 +01:00
27f1a63170
allow String for payload in HTTPclient sendRequest
2016-01-29 13:19:56 +01:00
85973cdc8c
Merge pull request #1501 from Links2004/master
...
fix #1499 - ESPhttpUpdate.updateSpiffs
2016-01-26 16:23:17 +03:00
74da596183
Merge pull request #1503 from Makuna/ServoValueRoundOffFix
...
Servo value read and write fixes
2016-01-26 16:22:48 +03:00
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
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
b2a6ab8059
#1499
2016-01-25 21:05:24 +01:00
ecdbda8796
Merge pull request #1401 from lp0/webserver-async1
...
WebServer: handle initial read/close timeouts asynchronously
2016-01-18 20:45:41 +03:00
e443b0ce3b
Merge pull request #1437 from timw1971/patch-2
...
Optimised _dirty flag.
2016-01-18 20:43:42 +03:00
a39b4825e0
Merge pull request #1440 from stefangordon/master
...
Include Arduino.h AFTER memory.h
2016-01-18 20:42:11 +03:00
8c3e1d00ee
Merge pull request #1451 from probonopd/patch-2
...
advertise all hosted services
2016-01-18 20:41:58 +03:00
d605074005
Remove OneWire
2016-01-18 15:38:28 +01:00
80dc5c11a4
Merge branch 'master' into master
2016-01-17 16:54:02 -08:00
b2a92963d3
Merge branch 'master' into patch-2
2016-01-16 22:09:45 +01:00
160f84a6f6
Make advertiseServices() private
2016-01-16 20:51:08 +01:00
7a35ee4813
advertise all hosted services (written by me-no-dev)
2016-01-16 20:39:52 +01:00
0b42f53bf4
advertise all hosted services
2016-01-16 20:37:06 +01:00
4247b646bb
Merge remote-tracking branch 'remotes/esp8266/master'
2016-01-16 14:01:19 +01:00
fb55e91118
fix #1368
2016-01-16 14:00:56 +01:00
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
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
87c59b1ca2
Merge pull request #1413 from Links2004/master
...
fix unused warning #1407
2016-01-13 09:46:10 +03:00
3d4e4f8cda
Merge branch 'master' into my_changes_on_2.1.0-rc1
2016-01-12 21:26:09 +01:00
ae1409125f
Accept-Encoding missing comma added
2016-01-12 21:25:27 +01:00
b425eff683
#1407
2016-01-11 15:46:52 +01:00
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
47102201a8
Merge pull request #1096 from per1234/master
...
Unique Built-In libraries library.properties name
2016-01-10 23:41:54 +03:00
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
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
e34ded1821
Merge remote-tracking branch 'upstream/master'
2016-01-10 09:41:52 -05:00
9e61e60b0c
A content length of zero should also be sent
...
This is needed since when the content-length header is not sent the clients will
wait for data anyways. Sending a content length of zero will tell the client not
to expect any content and it will close the connection immediately.
2016-01-10 08:11:40 +02:00
9b880e7af2
only respond to ssdp searches that match our type
2016-01-09 23:25:57 -05:00
ec1c90c545
Fix typo causing crash on missing uri scheme
2016-01-10 14:10:29 +11:00