ESPHome 2026.8.0-dev
Loading...
Searching...
No Matches
ble_uuid.h
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef USE_ESP32
6#ifdef USE_ESP32_BLE_UUID
7
8// The BLE UUID type is owned by the platform-neutral ble_device_base layer;
9// this header re-exports it under the historical esp32_ble name (esp32 only).
10// The full historical API surface — including from_uuid()/get_uuid() with the
11// ESP-IDF esp_bt_uuid_t type — is preserved on esp32 builds.
12
14
15namespace esphome::esp32_ble {
16
17using ble_device_base::UUID_STR_LEN;
19
20} // namespace esphome::esp32_ble
21
22#endif // USE_ESP32_BLE_UUID
23#endif // USE_ESP32