1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

690 Commits

Author SHA1 Message Date
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
Wyatt Neal
e34ded1821 Merge remote-tracking branch 'upstream/master' 2016-01-10 09:41:52 -05:00
Assaf Inbal
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
Wyatt Neal
9b880e7af2 only respond to ssdp searches that match our type 2016-01-09 23:25:57 -05:00
Damian Peckett
ec1c90c545 Fix typo causing crash on missing uri scheme 2016-01-10 14:10:29 +11:00
Markus Sattler
856792358a Merge remote-tracking branch 'remotes/esp8266/master' 2016-01-09 21:26:00 +01:00
Me No Dev
c6d8e2532b optimize 2016-01-09 21:53:24 +02:00
Markus Sattler
c8e6b7f6d2 correct default return value for softAP 2016-01-09 17:30:14 +01:00
Me No Dev
fe07baadf3 fix bad (recently changed) function signatures in lwip 2016-01-09 18:18:53 +02:00
Me No Dev
a143e614e7 Merge remote-tracking branch 'origin/master' 2016-01-09 13:35:25 +02:00
Me No Dev
377864f76b Merge remote-tracking branch 'esp8266/master' 2016-01-09 13:31:28 +02:00
Markus Sattler
a3161d5b3c typo 2016-01-09 11:40:46 +01:00
Me No Dev
cccff08a37 revert change, though signatures are wrong 2016-01-09 00:15:13 +02:00
Markus Sattler
29bb74beab rework AP config to get DHCP in best mode if SDK config got invalid some how. 2016-01-08 22:40:51 +01:00