J. Nick Koston
b30d7fb0eb
Use fixed buffer for plaintext protocol like noise protocol
...
This PR optimizes memory usage in the APIPlaintextFrameHelper by replacing the vector-based header buffer with a fixed-size buffer, similar to what's already done in the noise protocol implementation.
- Replaced `std::vector<uint8_t> rx_header_buf_` with a 5-byte fixed buffer `uint8_t rx_header_buf_[5]`
- Implemented a modified protocol parsing algorithm that validates the indicator byte without storing it
- Ensured compatibility with noise protocol by supporting message sizes up to at least 65535 (requires 3-byte varint)
- Improved readability with clearer conditional logic and better comments
- Added detailed notes about protocol limitations and variable length encoding
- Reduces memory fragmentation by eliminating dynamic allocations during header parsing
2025-05-14 16:47:26 -05:00
J. Nick Koston
fc609f02f3
reset
2025-05-14 15:19:07 -05:00
J. Nick Koston
3fbbec81af
frame helper opt
2025-05-14 14:26:05 -05:00
J. Nick Koston
7934618c9c
debug
2025-05-14 12:40:40 -05:00
J. Nick Koston
c4aee545c3
cleanup
2025-05-14 12:38:07 -05:00
J. Nick Koston
45e08ed584
Merge branch 'improve_ble_batching' into loop_runtime_stats_ble_batching
2025-05-13 11:41:30 -05:00
J. Nick Koston
a7449dce92
Improve batching of BLE advertisements for better airtime efficiency
2025-05-13 11:31:48 -05:00
J. Nick Koston
8067caf16f
preen
2025-05-13 11:30:26 -05:00
J. Nick Koston
5fbb066ee7
preen
2025-05-13 11:30:06 -05:00
J. Nick Koston
c9680a1ccb
preen
2025-05-13 11:29:22 -05:00
J. Nick Koston
03399e6dd6
preen
2025-05-13 11:22:33 -05:00
J. Nick Koston
7f838ece00
preen
2025-05-13 11:22:05 -05:00
J. Nick Koston
3f87010c0e
preen
2025-05-13 11:21:32 -05:00
Mischa Siekmann
032949bc77
[audio] Fix: Decoder stops unnecessarily after a potential failure is detected. ( #8776 )
2025-05-13 08:35:19 -04:00
J. Nick Koston
a960d9966d
preen
2025-05-13 03:55:08 -05:00
J. Nick Koston
02c390c6c3
tweak
2025-05-13 03:51:22 -05:00
J. Nick Koston
eebefdf026
preen
2025-05-13 03:38:42 -05:00
J. Nick Koston
cb748bbb02
preen
2025-05-13 03:32:57 -05:00
J. Nick Koston
c35db19995
preen
2025-05-13 03:30:19 -05:00
J. Nick Koston
71b493bd8b
its too much
2025-05-13 03:25:49 -05:00
J. Nick Koston
f67e02c653
its too much
2025-05-13 03:24:48 -05:00
J. Nick Koston
9db52b17f2
its too much
2025-05-13 03:24:36 -05:00
J. Nick Koston
d728382542
its too much
2025-05-13 03:24:07 -05:00
J. Nick Koston
d95bbfc6c4
its too much
2025-05-13 03:00:38 -05:00
Jesse Hills
6f8ee65919
[text_sensor] Fix schema generation ( #8773 )
2025-05-13 06:34:26 +00:00
Thomas Rupprecht
c5654b4cb2
[esp32] improve gpio ( #8709 )
2025-05-13 18:24:38 +12:00
Jesse Hills
410b6353fe
[switch] Fix schema generation ( #8774 )
2025-05-13 06:17:54 +00:00
J. Nick Koston
83db3eddd9
revert ota
2025-05-13 01:07:43 -05:00
J. Nick Koston
cc2c5a544e
revert ota
2025-05-13 01:07:38 -05:00
J. Nick Koston
8fba8c2800
revert ota
2025-05-13 01:05:37 -05:00
J. Nick Koston
51d1da8460
revert ota
2025-05-13 01:04:09 -05:00
J. Nick Koston
2f1257056d
revert
2025-05-13 01:02:00 -05:00
J. Nick Koston
2f8f6967bf
fix ota
2025-05-13 00:55:19 -05:00
J. Nick Koston
246527e618
runtime stats
2025-05-13 00:54:05 -05:00
J. Nick Koston
3857cc9c83
runtime stats
2025-05-13 00:51:14 -05:00
Jesse Hills
a36e1aab8e
[cover] Update components to use `cover_schema(...)` ( #8770 )
2025-05-13 00:29:00 -05:00
Jesse Hills
864ae7a56c
[template] Use alarm_control_panel_schema method ( #8764 )
2025-05-13 00:26:07 -05:00
Jesse Hills
2560d2b9d0
[demo] Clean up schema deprecations, add test ( #8771 )
2025-05-13 05:16:23 +00:00
Jesse Hills
0cf9b05afd
[select] Tidy schema generation ( #8775 )
2025-05-13 05:07:57 +00:00
Cossid
8b65d1673a
Tuya Select - Add int_datapoint option ( #8393 )
2025-05-13 16:44:51 +12:00
Jesse Hills
5e164b107a
[climate] Fix climate_schema ( #8772 )
2025-05-13 16:35:56 +12:00
DanielV
a83959d738
In case of proto-diff show changes and archive generated ( #8698 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-13 14:07:54 +12:00
realzoulou
0ccc5bf714
[gps] Add hdop sensor ( #8680 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-13 14:05:34 +12:00
Jesse Hills
bc0956019b
[config] Deprecate more *_SCHEMA constants ( #8763 )
2025-05-13 13:24:13 +12:00
Jesse Hills
49f631d6c5
[schema] Deploy schema after release workflow finished ( #8767 )
2025-05-13 13:18:23 +12:00
J. Nick Koston
a9d5eb8470
Fix missing recursion guard release on ESP8266 ( #8766 )
2025-05-13 13:17:37 +12:00
tomaszduda23
7c0546c9f0
[clang] clang tidy support with zephyr ( #8352 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-05-12 23:36:34 +00:00
J. Nick Koston
f4eb75e4e0
Avoid iterating clients twice in the api_server loop ( #8733 )
2025-05-12 17:29:50 -05:00
dependabot[bot]
5b2c19bc86
Bump setuptools from 80.3.1 to 80.4.0 ( #8753 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 09:32:13 +12:00
dependabot[bot]
185b84b8b2
Bump zeroconf from 0.146.5 to 0.147.0 ( #8754 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 09:31:40 +12:00