Commit Graph

1895 Commits

Author SHA1 Message Date
Gregg 85144c4146 update 2024-01-21 12:29:20 -06:00
Gregg 8902899295 update 2024-01-21 12:23:58 -06:00
Gregg 4a40f5fa95 update 2024-01-21 12:22:28 -06:00
Gregg 56fc0f272c update 2024-01-21 12:20:51 -06:00
Gregg d023bdbfda update 2024-01-21 11:54:13 -06:00
Gregg b65686dda8 Update test.md 2024-01-20 22:55:51 -06:00
Gregg 358ea3a371 Update Span.h 2024-01-20 22:55:18 -06:00
Gregg 87b7ebf095 update 2024-01-20 22:51:52 -06:00
Gregg 8cae896273 update 2024-01-20 19:14:11 -06:00
Gregg 348232a663 update 2024-01-20 16:43:17 -06:00
Gregg 97afdcd555 update 2024-01-19 18:03:09 -06:00
Gregg c5a30ebedf update 2024-01-19 17:33:41 -06:00
Gregg 698c83a498 update 2024-01-19 15:42:05 -06:00
Gregg 25d723d68e update 2024-01-19 15:32:03 -06:00
Gregg 5c83de451d update 2024-01-19 15:06:14 -06:00
Gregg c08d9ace28 update 2024-01-19 14:46:57 -06:00
Gregg 99d4d78155 update 2024-01-19 14:34:46 -06:00
Gregg 1aa8dede6b update 2024-01-19 14:32:00 -06:00
Gregg 16f248e1dc update 2024-01-19 07:49:18 -06:00
Gregg 58798c59e8 update 2024-01-19 07:39:36 -06:00
Gregg d669fd7370 update 2024-01-19 07:28:05 -06:00
Gregg 9bb388eb4b update 2024-01-18 22:45:10 -06:00
Gregg a5dea46f92 update 2024-01-18 22:15:25 -06:00
Gregg 0fbb2aca47 update 2024-01-18 22:07:20 -06:00
Gregg 2b6d5c5e41 update 2024-01-18 21:57:21 -06:00
Gregg 7c3d9755c5 update 2024-01-18 21:36:34 -06:00
Gregg bef17fb268 Update test.md 2024-01-18 21:32:35 -06:00
Gregg efd63f2a38 Update makeServiceList 2024-01-18 06:25:40 -06:00
Gregg a3f516ddf0 Update makeServiceList 2024-01-16 22:20:25 -06:00
Gregg ffbb79a653 auto-generation of service list 2024-01-15 22:18:29 -06:00
HomeSpan fe0b8c1a42
Update Reference.md 2024-01-15 21:31:19 -06:00
HomeSpan 1a6bc93632
Update Logging.md 2024-01-15 21:25:28 -06:00
HomeSpan 7f2f093fff
Update Tutorials.md 2024-01-15 18:04:25 -06:00
Gregg fbc1ac9cbe Create ExternalReference.ino 2024-01-15 18:00:07 -06:00
HomeSpan d280b5b52a
Update Tutorials.md 2024-01-15 12:51:22 -06:00
Gregg 015625b08a Update CustomNVSPartition.ino 2024-01-15 12:44:00 -06:00
Gregg a5e8680452 Added CustomNVSPartition Example
To do:  Add to list of Other Examples in documentation.
2024-01-15 10:42:34 -06:00
HomeSpan 0c2f29db2f
Update Reference.md 2024-01-13 15:45:49 -06:00
HomeSpan f5d4806e4b
Update Reference.md 2024-01-13 15:42:06 -06:00
Gregg 437771fabd Cleaned up some public/private permissioning inside PushButton and SpanButton
Ensure users can access constants like TRIGGER_ON_HIGH, TRIGGER_ON_LOW, etc. using any of these equivalent fully-qualified names:

* PushButton::TRIGGER_ON_HIGH
* SpanButton::TRIGGER_ON_HIGH
* SpanToggle::TRIGGER_ON_HIGH
2024-01-13 15:20:20 -06:00
Gregg 260be21462 Added optional triggerType to homeSpan.setControlPin()
Default is SpanButton::TRIGGER_ON_LOW.  Follows same options as SpanButton, including the ability to provide your own triggerType function of form:

boolean f(int pin)
2024-01-13 10:01:03 -06:00
Gregg 3c3e5c21ea Added homeSpan.getAutoPollTask() to return task handler of autoPoll
Returns NULL if autoPoll has not been used.

Also added low stack size for both main Arduino loop task and HomeSpan autoPoll task to 'm' command
2024-01-12 21:57:57 -06:00
Gregg 2d86ee4a25 Truncate all STRING-based Characteristics to 64 characters when adding to JSON
HAP default max length of STRING Characteristics is 64 characters
2024-01-12 21:21:42 -06:00
Gregg fe9e3d7942 Merge branch 'release-1.8.1-dev' of https://github.com/HomeSpan/HomeSpan into release-1.8.1-dev 2024-01-12 18:31:06 -06:00
HomeSpan e42cb4e1dd
Merge pull request #659 from frankonski/buffer_overwrite
Preventing possibility of buffer overwrite.
2024-01-12 19:30:45 -05:00
Gregg b5dcfbbd7d Modified range checks so that "NAN" gets picked up as error for FLOAT Characteristics 2024-01-11 21:57:42 -06:00
Gregg ba240ea4d7 updated putPrepareURL and deleted receiveEncrypted()
Must test with Door example, which uses putPrepare
2024-01-11 06:40:54 -06:00
Gregg d179f039d1 Moved all PSRAM definitions into separate PSRAM.h file
Now allows #include "HomeSpan.h" to be removed from TLV dependencies
2024-01-10 22:05:26 -06:00
Gregg bddffab7ad refactored tlvRespond() to use hapOut instead of sendEncrypted()
To do:

1) update putPrepareURL() to use hapOut instead of sendEncrypted()
2) remove sendEncrypted() since it is no longer needed
3) try moving MAllocator template into separate file (memory.h?) so it can be called from any other module
4) remove #include "HomeSpan.h" from TLV8
2024-01-10 21:53:37 -06:00
Gregg fa5455d6f9 moved tlv streaming into tlv class 2024-01-10 20:44:16 -06:00