[api] Add 48-bit MAC address varint fast path for BLE advertisements (#15988)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2026-04-29 13:48:35 +12:00
1 parent 35cb28edfe
commit f05243bd9d
9 files changed
+220 -6

No files matched your search

@@ -21,6 +21,7 @@ void APIServerConnectionBase::log_receive_message_(const LogString *name) {
}
#endif
#ifdef USE_API
void APIConnection::read_message_(uint32_t msg_size, uint32_t msg_type, const uint8_t *msg_data) {
// Check authentication/connection requirements
switch (msg_type) {
@@ -706,5 +707,6 @@ void APIConnection::read_message_(uint32_t msg_size, uint32_t msg_type, const ui
break;
}
}
#endif // USE_API
} // namespace esphome::api