Yitao Jiang
1cd01205a3
Support Non-English WiFi name
2023-08-20 20:05:47 +08:00
HomeSpan
8baf70994d
Update README.md
2023-08-04 06:44:39 -05:00
Gregg
3396a5ff96
Refactored Controller Structure and Add/Remove/List/Save Functions
...
Changed fixed-size array `struct Controller[MAX_CONTROLLERS]` to a dynamic linked-list of Controllers. Re-coded all related functions. MAX_CONTROLLERS no sets the size of any buffers but is only used to limit the ultimate size of the linked-list.
Saved about 1K of RAM since most of the time there are only 2 Controllers defined (as opposed to the 16 allowed).
2023-08-03 22:29:31 -05:00
Gregg
5a356432b3
Simplified `uint8_t *TLV<tagType, maxTags>::buf(tagType tag, int len)`
...
Also updated HAP.cpp to use new `uint8_t *TLV<tagType, maxTags>::buf(tagType tag, uint8_t *src, int len)`
2023-07-30 21:54:14 -05:00
Gregg
a84429f930
Refactored TLV
...
* Added support for zero-length TLV
* Added SEPARATOR as a formal kTLVType (and updated listControllers() to use)
* Added `uint8_t *buf(tagType tag, uint8_t *src, int len);` to load buffer needing external memcpy (and updated listControllers() to use)
2023-07-30 21:37:47 -05:00
Gregg
17410e825e
Completed adding LIST to HAPClient::postPairingsURL()
...
HomeSpan now correctly responds to pairing list requests
2023-07-29 08:35:01 -05:00
Gregg
7325baa1a5
Added HAPClient::listControllers()
...
Will be used for pairings list request
2023-07-29 01:21:55 -05:00
Gregg
bf057e2fad
modified HAP::receivedEncrypted() to use TempBuffer instead of fixed stack array
2023-07-28 19:51:56 -05:00
Gregg
131e5b1a92
Removed duplicate if(POST /pairings)
2023-07-28 19:38:16 -05:00
HomeSpan
42156b1622
Update ServiceList.md
2023-07-27 21:15:26 -05:00
Gregg
793f7882b1
Replaced appropriate snprintf() with asprintf() and used *m in sscanf
...
Optimized use of heap memory instead of stack memory for temporary variables, and makes code easier to read, provided all heap usage is free() at end of each function.
Also removed char *hostName as a member variable of homeSpan. It's never actually used since MDNS constructs its own copy of hostName as needed.
2023-07-26 22:46:20 -05:00
Gregg
0f6e58435e
Update Network.cpp
2023-07-26 20:35:27 -05:00
Gregg
62f68cb33c
Upgraded TempBuffer logic to use .get() to return pointer
...
Next up: update Network.cpp to use client.available() and reduce fixed memory usage.
2023-07-26 06:27:54 -05:00
Gregg
5f9458e625
Converted static HTTP Buffer to dynamic TempBuffer
...
Saved about 8K in RAM!
2023-07-25 05:54:40 -05:00
Gregg
d6f5612f9f
Update Pixel.ino
...
changed nPixels from uint8_t to int to allow for longer pixel strands (library is coded for int, so there is no need to limit to uint8_t in the example).
2023-07-24 09:24:58 -05:00
Gregg
a73b206531
Update src.ino
2023-07-21 17:36:57 -05:00
HomeSpan
3f62c228af
Update Reference.md
2023-07-21 14:55:22 -05:00
HomeSpan
604c76bc94
Update Reference.md
2023-07-21 13:54:51 -05:00
HomeSpan
85a6406fdf
Merge pull request #611 from HomeSpan/master
...
Update dev with latest changes to docs in master branch
2023-07-21 13:36:52 -05:00
Gregg
4557e3866f
Converted various homeSpan.set() methods from void to Span& to enable chaining
2023-07-21 13:27:31 -05:00
HomeSpan
a10f00c721
Update FAQ.md
2023-07-20 23:03:33 -05:00
HomeSpan
3cb2e16418
Update NOW.md
2023-07-20 22:52:14 -05:00
HomeSpan
6ff9de03c9
Update FAQ.md
2023-07-20 22:48:06 -05:00
HomeSpan
b0dbf02227
Update GettingStarted.md
2023-07-11 06:20:13 -05:00
HomeSpan
15149eb8d7
Update GettingStarted.md
2023-07-11 06:18:55 -05:00
HomeSpan
bde6b6b5a8
Update GettingStarted.md
2023-07-11 06:09:41 -05:00
HomeSpan
03400653da
Update README.md
2023-07-11 05:35:00 -05:00
HomeSpan
efb0eba187
Merge pull request #607 from HomeSpan/dev
...
Release 1.8.0
2023-07-08 19:26:50 -07:00
HomeSpan
510c347408
Update library.properties
2023-07-08 21:24:04 -05:00
HomeSpan
16e6db47c1
Update Reference.md
2023-07-08 21:22:43 -05:00
HomeSpan
ff622b507b
Update README.md
2023-07-08 21:17:36 -05:00
Gregg
57a85bf0c8
Bumped version to 1.8.0 in preparation for release
2023-07-08 21:09:48 -05:00
HomeSpan
e958e07d0b
Update Stepper.md
2023-07-08 18:30:29 -05:00
HomeSpan
d78f6a2ce3
Update Stepper.md
2023-07-08 18:00:47 -05:00
Gregg
6aedec5a2d
Added ability to chain enable(), disable(), and brake()
2023-07-08 17:56:33 -05:00
Gregg
f7419da35b
Final test of motorized shades
2023-07-08 16:55:22 -05:00
Gregg
db0f522297
Added DRAM/IRAM memory stats to 'm' CLI command
2023-07-05 06:05:10 -05:00
HomeSpan
3d45c7d120
Update README.md
2023-07-03 09:01:28 -05:00
Gregg
62b1e9bd35
Update src.ino
2023-07-03 07:05:51 -05:00
HomeSpan
0997c2561b
Update Blinkable.md
2023-07-03 07:05:12 -05:00
HomeSpan
866225757f
Update Blinkable.md
2023-07-03 07:00:21 -05:00
HomeSpan
7861494e1a
Update Stepper.md
2023-07-03 05:54:14 -05:00
Gregg
c05f6d67e0
Create Blinkable.md
2023-07-03 05:22:42 -05:00
HomeSpan
fd64273a6d
Update Reference.md
2023-07-02 17:24:12 -05:00
Gregg
63e6042f42
Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev
2023-07-02 17:13:03 -05:00
Gregg
568c13fee3
Tested homeSpan.setStatusDevice() to create a reverseLED
2023-07-02 17:12:58 -05:00
HomeSpan
794d9e09b5
Update Tutorials.md
2023-07-02 16:39:50 -05:00
Gregg
a2731412b3
Merge branch 'dev' of https://github.com/HomeSpan/HomeSpan into dev
2023-07-02 16:38:44 -05:00
Gregg
f92048ec19
Update MotorizedWindowShade.ino
2023-07-02 16:38:31 -05:00
HomeSpan
5a85ee7be8
Update Stepper.md
2023-07-02 16:38:01 -05:00