J. Nick Koston
2137e4600a
[api] Hoist pos_ to local in encode_varint_raw_64 to avoid reload per byte
...
Use a __restrict__ local pointer for the varint write loop so the
compiler can keep it in a register instead of reloading pos_ from
memory on each iteration. Eliminates the store→load dependency
chain that was causing 7 load/store pairs for a typical 48-bit
BLE address varint.
2026-03-28 17:43:11 -10:00
J. Nick Koston
52897fd067
[api] Add 2-byte inline fast path for sint32 varint encode/size
...
Add encode_varint_raw_short() and ProtoSize::varint_short() that
inline both the 1-byte and 2-byte varint paths, falling back to
the noinline slow path for 3+ bytes.
Use these for sint32 fields (zigzag encoding), where values like
RSSI (-100 to 0) produce zigzag values that are 1-2 bytes. This
avoids a function call for the common case without bloating the
generic encode_varint_raw fast path.
2026-03-28 17:27:40 -10:00
J. Nick Koston
777e162070
[benchmark] Add BLE raw advertisement proto encode benchmarks
...
Add CodSpeed benchmarks for BluetoothLERawAdvertisementsResponse
(12 advertisements) covering calculate_size, encode, calc+encode,
and fresh-buffer paths.
Includes a lightweight bluetooth_proxy stub header in
tests/benchmarks/stubs/ so the api component can compile with
USE_BLUETOOTH_PROXY on the host platform without pulling in
ESP32 BLE dependencies.
2026-03-28 17:08:52 -10:00
Jonathan Swoboda
b6abfec82e
[core] Fix area/device hash collision validation not running ( #15259 )
2026-03-27 22:22:24 -04:00
Jonathan Swoboda
47774fb644
[modbus_controller] Fix wrong enum in function_code_to_register ( #15253 )
2026-03-27 19:55:57 -04:00
Jonathan Swoboda
34410e92b7
[as5600] Remove dead angle/position sensor code ( #15254 )
2026-03-27 19:55:40 -04:00
Edward Firmo and pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
a99f051e19
[nextion] Replace queue name string literals with short Nextion-native identifiers ( #15215 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-27 13:49:00 -10:00
Keith Burzinski
f6c63c62e4
[tmp117] Code clean-up ( #15260 )
2026-03-27 17:59:26 -05:00
Jonathan Swoboda
76d75850a3
[sgp4x] Remove dead voc_baseline config option ( #15250 )
2026-03-27 17:35:12 -04:00
Jonathan Swoboda
68d9f657ad
[bl0940] Fix energy reference default using wrong constant in legacy mode ( #15249 )
2026-03-27 21:32:37 +00:00
Jonathan Swoboda
24b8a95340
[pid] Remove unused PIDSimulator class ( #15247 )
2026-03-27 17:24:15 -04:00
Jonathan Swoboda
d245b9f123
[sm2135] Fix copy-paste error in setup pin mode ( #15248 )
2026-03-27 17:24:03 -04:00
Edward Firmo
a2dee21e8e
[nextion] Replace std::deque queues with std::list ( #15211 )
2026-03-27 10:24:19 -10:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3016cd3636
Bump github/codeql-action from 4.34.1 to 4.35.1 ( #15245 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 09:29:08 -10:00
Jonathan Swoboda
7532e1f957
[multiple] Fix uninitialized members and error constant types ( #15235 )
2026-03-27 14:58:41 -04:00
Jonathan Swoboda
f0db0c1054
[esp32] Add ESP-IDF 5.5.4 and 6.0.0 version mappings ( #15241 )
2026-03-27 14:48:08 -04:00
Jonathan Swoboda
05c15f4241
[remote_base] Fix gobox uint64_t format specifier ( #15237 )
2026-03-27 08:44:40 -10:00
Jonathan Swoboda
951ad91cb2
[atm90e32] Fix phase angle precision loss and remove unused member ( #15238 )
2026-03-27 08:39:30 -10:00
Jonathan Swoboda
53bd57f3c2
[pid] Fix inverted debug log conditions and broken smoothing formula ( #15240 )
2026-03-27 08:37:54 -10:00
Jonathan Swoboda
4b9467cd0c
[esp32_ble_client] Fix wrong union member in OPEN_EVT handler ( #15236 )
2026-03-27 08:37:33 -10:00
Jonathan Swoboda
0a607b9c93
[esp32_ble_server] Fix wrong union member in STOP_EVT handler ( #15239 )
2026-03-27 08:36:16 -10:00
Jonathan Swoboda
810c046cc6
[multiple] Fix misc hardware register bugs ( #15208 )
2026-03-27 14:25:38 -04:00
J. Nick Koston
5a8d6931a8
[factory_reset] Migrate FastBootTrigger to callback automation ( #15232 )
2026-03-27 08:24:35 -10:00
J. Nick Koston
0d67f91fac
[rf_bridge] Migrate triggers to callback automation ( #15231 )
2026-03-27 08:24:25 -10:00
J. Nick Koston
f9d41bd36a
[modbus_controller] Migrate triggers to callback automation ( #15230 )
2026-03-27 08:24:15 -10:00
J. Nick Koston
39509265bc
[haier] Migrate triggers to callback automation ( #15229 )
2026-03-27 08:24:03 -10:00
J. Nick Koston
2f3c21c7c1
[ezo] Migrate triggers to callback automation ( #15228 )
2026-03-27 08:23:50 -10:00
J. Nick Koston
d77bf23c76
[nextion] Migrate triggers to callback automation ( #15227 )
2026-03-27 08:23:37 -10:00
J. Nick Koston
f5cd1e5e76
[ld2450] Fix flaky integration test race condition ( #15226 )
2026-03-27 08:23:26 -10:00
J. Nick Koston
a73c67e476
[ltr501] Migrate triggers to callback automation ( #15225 )
2026-03-27 08:23:17 -10:00
J. Nick Koston
a95f9f41fb
[ltr_als_ps] Migrate triggers to callback automation ( #15224 )
2026-03-27 08:22:58 -10:00
J. Nick Koston
6ffb5af60c
[fingerprint_grow] Migrate triggers to callback automation ( #15223 )
2026-03-27 08:22:47 -10:00
J. Nick Koston
a5416df615
[sim800l] Migrate triggers to callback automation ( #15222 )
2026-03-27 08:22:36 -10:00
J. Nick Koston
985477f2cf
[pn7150][pn7160] Migrate triggers to callback automation ( #15221 )
2026-03-27 08:22:25 -10:00
J. Nick Koston
a4a8fa3027
[pn532] Migrate PN532OnFinishedWriteTrigger to callback automation ( #15220 )
2026-03-27 08:22:14 -10:00
J. Nick Koston
623408bbfe
[hlk_fm22x] Migrate triggers to callback automation ( #15219 )
2026-03-27 08:22:02 -10:00
J. Nick Koston
514df6c99a
[dfplayer] Migrate FinishedPlaybackTrigger to callback automation ( #15218 )
2026-03-27 08:21:52 -10:00
J. Nick Koston
54283a2599
[rotary_encoder] Migrate triggers to callback automation ( #15217 )
2026-03-27 08:21:41 -10:00
J. Nick Koston
4493d2efb6
[online_image] Migrate triggers to callback automation ( #15216 )
2026-03-27 08:21:27 -10:00
J. Nick Koston
83b3187126
[rtttl] Migrate FinishedPlaybackTrigger to callback automation ( #15202 )
2026-03-27 08:21:16 -10:00
J. Nick Koston and Claude Opus 4.6
a2d452684a
[ld2450] Migrate LD2450DataTrigger to callback automation ( #15201 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 08:21:03 -10:00
J. Nick Koston and Claude Opus 4.6
2e42547d32
[media_player] Migrate triggers to callback automation ( #15200 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 08:20:46 -10:00
J. Nick Koston
dea8fdd906
[lock] Migrate LockStateTrigger to callback automation ( #15199 )
2026-03-27 08:20:35 -10:00
J. Nick Koston
b41634e19a
[alarm_control_panel] Migrate triggers to callback automation ( #15198 )
2026-03-27 08:20:24 -10:00
J. Nick Koston
b0f6a94df5
[sml] Migrate DataTrigger to callback automation ( #15233 )
2026-03-27 08:20:11 -10:00
J. Nick Koston
1e65165e48
[safe_mode] Migrate SafeModeTrigger to callback automation ( #15197 )
2026-03-27 08:19:58 -10:00
Jonathan Swoboda
73e939ffb5
[sgp4x] Fix NOx index_offset default (should be 1, not 100) ( #15212 )
2026-03-27 14:13:24 -04:00
Diorcet Yann
2d9922496c
[git] Add support for subpath to computed destination directory ( #15135 )
2026-03-27 12:02:45 -04:00
Edward Firmo and pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
6feb2d04df
[nextion] Replace static std::string COMMAND_DELIMITER with constexpr ( #15195 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-26 17:36:35 -10:00
J. Nick Koston
90dafa3fa4
[logger] Warn when VERBOSE/VERY_VERBOSE logging is active ( #15189 )
2026-03-27 01:59:58 +00:00