Commit Graph

974 Commits

Author SHA1 Message Date
Gregg bc5299cf57 Updated version number to 1.4.2
Ready for release!
2021-11-27 09:48:07 -06:00
Gregg 83170306f5 Updated Blinker class for compatibility with Arduino-ESP32 v2.0.1
The update from Arduino-ESP32 2.0.0 to 2.0.1 contained significant changes to the structures used by the IDF for generic timers.  This broke the Blinker code (would not compile for ESP32-S2 and C3 chips).

The solution: Modified Blinker::isrTimer() to use a *generic* interrupt-clearing function when available (IDF version >= 4.0.0).  Below 4.0.0 the code continues to manually clear the interrupt flag by resetting specific structure variables, though the logic is simpler since this is only needed for the ESP32 chip (the S2 and C3 are not supported in earlier versions of Arduino-ESP32).

This provides for full compatibility with Arduino-ESP32 versions 2.0.1, 2.0.0, and 1.0.6.  The use of a generic interrupt clearing function when IDF>=4.0.0 will hopefully make this future-proof to any further changes by Espressif to the underlying timer structures.
2021-11-25 10:03:57 -06:00
Gregg d8bb51902f Fixed Bug in TimedWrites
The loop over TimedWrites incorrectly erased iterators inside a for-loop.  For some reason this never caused an issue on the ESP32, but crashed on the ESP32-C3.  Solution is to change the for-loop to a while-loop with proper handling of the iterator when an element is deleted.  This appears to fix the problem.
2021-11-24 18:27:55 -06:00
HomeSpan a8e6e643f9
Update Reference.md 2021-11-12 18:40:21 -06:00
HomeSpan 07eaef9523
Update Reference.md 2021-11-12 18:30:45 -06:00
Gregg 48b21df329 Created method setPairingCode(const char *s)
Allows for programmatic creation of Pairing Setup Code.  Not recommended, but added for a convenience - should use 'S' from CLI instead.
2021-11-12 18:01:27 -06:00
HomeSpan 8c93ac2e35
Update Reference.md 2021-11-12 06:58:06 -06:00
HomeSpan 8ffb62715e
Update Reference.md 2021-11-11 21:12:47 -06:00
HomeSpan 6801dfe4c8
Update Reference.md 2021-11-11 20:57:02 -06:00
Gregg b5f4592b29 Removed Characteristic::ConfiguredNameStatic() end updated Television Example
Characteristic::ConfiguredNameStatic() is no longer needed since you can now change permissions on ConfiguredStatic to remove PW with removePerms(PW).  Updated Television Example accordingly.

To Do:  Add getLinks() and setPerms/addPerms/removePerms to API Reference Documentation
2021-11-10 05:54:19 -06:00
HomeSpan fcf715d874 Added getLinks() method to SpanServices
This returns a vector of linked Services that can be used in a for-each loop as such:

for(auto services : getLinks()){ ... }

Must cast services into specific Service type to access anything not generic to the SpanService   class
2021-11-09 21:18:34 -06:00
HomeSpan 3f833beb74 Added ability to change permissions for Characteristics
New methods for Characteristics:

setPerms(uint8_t perms);
addPerms(uint8_t dPerms);
removePerms(uint8_t dPerms);

where perms and dPerms = PR|PW|EV...
2021-11-09 21:08:52 -06:00
HomeSpan 9de26715f0
Update Reference.md 2021-11-08 05:50:30 -06:00
Gregg 6f765e8988 Added non-notify option to setVal()
Second optional argument to setVal() determines whether or not HomeSpan sends notification of new value to HomeKit.  Default if left blank is "true" for backwards compatibility.
2021-11-07 20:45:44 -06:00
HomeSpan 835d49adc5
Merge pull request #181 from HomeSpan/release-1.4.1
Release 1.4.1
2021-10-31 19:33:46 -05:00
HomeSpan 0899bb1679
Update README.md 2021-10-31 17:56:58 -05:00
HomeSpan b202d5ba47
Update FAQ.md 2021-10-31 17:37:10 -05:00
HomeSpan 8d54be5308
Update FAQ.md 2021-10-31 17:35:09 -05:00
HomeSpan 08c92f8eb0 Update Span.h
Make Characteristic::Identifier required for Service::InputSource
2021-10-31 17:20:56 -05:00
HomeSpan 23bdd1372c
Update ServiceList.md 2021-10-31 17:04:47 -05:00
HomeSpan 9f68ffeca6
Update ServiceList.md 2021-10-31 16:50:52 -05:00
HomeSpan 7cd7aa28a0
Update ServiceList.md 2021-10-31 16:46:23 -05:00
HomeSpan f666f54b80
Update Categories.md 2021-10-31 16:41:17 -05:00
HomeSpan 31f9ec38b3
Update TVServices.md 2021-10-31 16:35:01 -05:00
HomeSpan 07060812b5
Update TVServices.md 2021-10-31 16:21:43 -05:00
HomeSpan 5b7a38f829
Update TVServices.md 2021-10-31 16:15:10 -05:00
HomeSpan f06bb4869a
Update Extras.md 2021-10-31 16:10:40 -05:00
HomeSpan 5ad030d471
Update Extras.md 2021-10-31 16:07:59 -05:00
HomeSpan f459635c75
Update TVServices.md 2021-10-31 15:57:38 -05:00
HomeSpan 9afb9f2cf5
Update TVServices.md 2021-10-31 15:52:58 -05:00
HomeSpan cd9da777a5
Update TVServices.md 2021-10-31 15:50:27 -05:00
HomeSpan f4b788839f
Update TVServices.md 2021-10-31 15:43:16 -05:00
HomeSpan 9b8f4d2b26
Update TVServices.md 2021-10-31 15:32:14 -05:00
HomeSpan 336ec18545
Update TVServices.md 2021-10-31 15:21:37 -05:00
HomeSpan 46aab531c8
Update TVServices.md 2021-10-31 10:21:28 -05:00
Gregg 49f40068b4 Merge branch 'dev+TV' of https://github.com/HomeSpan/HomeSpan into dev+TV 2021-10-31 10:03:20 -05:00
Gregg 6685768f5c Update Television.ino
Added `update()` logic for various key presses.
2021-10-31 10:03:18 -05:00
HomeSpan 4644d254c9
Update TVServices.md 2021-10-31 09:57:23 -05:00
HomeSpan fce9b85e24
Update TVServices.md 2021-10-30 23:23:24 -05:00
HomeSpan a55a697216
Update TVServices.md 2021-10-30 23:01:02 -05:00
HomeSpan a53d98070c Update version numbers to 1.4.1 2021-10-30 22:06:02 -05:00
HomeSpan be8dd811e8
Update TVServices.md 2021-10-30 17:10:44 -05:00
HomeSpan f2e0bf6089
Update README.md 2021-10-30 17:09:22 -05:00
Gregg 3cb08345f3 Create TVServices.md 2021-10-30 17:08:07 -05:00
HomeSpan 29cccd8aee
Update README.md 2021-10-30 17:04:07 -05:00
HomeSpan 2d2262d122
Update Reference.md 2021-10-30 17:00:18 -05:00
HomeSpan 5d92a876ec
Update Reference.md 2021-10-30 16:58:35 -05:00
HomeSpan 3cdd12f7b6
Update Reference.md 2021-10-30 16:58:02 -05:00
HomeSpan 59eb8e4cf3
Update Extras.md 2021-10-30 15:40:30 -05:00
HomeSpan 324848e330
Update Extras.md 2021-10-30 15:30:50 -05:00