1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

877 Commits

Author SHA1 Message Date
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
Markus Sattler
dec6739e3f add more debug to WiFi 2016-01-08 19:06:28 +01:00
Me No Dev
897a475fdb Merge remote-tracking branch 'esp8266/master' 2016-01-07 21:27:53 +02:00
Wyatt Neal
1950b10751 more correctly responding to queries
also a small formatting fix. this should now allow the system to
actually respond to SSDP discoveries that are issued on the network ...
i'm still not 100% certain if this is right due to the way that the
switch() statement is setup; it could be processing more than it should
2016-01-06 20:52:31 -05:00
Wyatt Neal
17c3fb9ce6 fixing serial number length
silly goof, it's a string
2016-01-05 22:20:19 -05:00
Wyatt Neal
2e71a536cb should at least respond to discovery 2016-01-05 22:04:21 -05:00
Wyatt Neal
430331a4f8 adding a few new features to the packet format
* can now specify the TTL programmatically
* can now define the device type urn (up to 64 chars)
** still defaults to `Basic:1`
* can now set the serial number using a `uint32_t`, formatted as %08X
2016-01-05 21:53:48 -05:00
Wyatt Neal
dba2f92f78 fixing TTL to 2 per spec
the v1.1 upnp spec indicates that the default TTL should be set to 2
(and should also be configurable):

* http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
2016-01-05 20:33:05 -05:00
Markus Sattler
a6238e388b Merge remote-tracking branch 'remotes/esp8266/master' into debug 2016-01-04 22:10:50 +01:00
Me No Dev
d67763a809 Merge remote-tracking branch 'esp8266/master' 2016-01-04 15:29:08 +02:00
Ivan Grokhotkov
ce1b64bc43 Merge pull request #1320 from alltheblinkythings/SerialInterframeFixes
Fixes for poor HardwareSerial performance/crashes exacerbated by SDK1.5
2016-01-04 21:26:59 +08:00
Markus Sattler
6cf20e0a71 fix WiFi Multi debug compile error 2016-01-03 15:27:36 +01:00
Me No Dev
7b297d2992 Merge remote-tracking branch 'esp8266/master' 2016-01-03 14:33:05 +02:00
Markus Sattler
137c50757e add OTA debug level 2016-01-02 13:27:21 +01:00