[bluetooth_proxy] Remove ESPBTUUID dependency to save 296 bytes of flash (#10213)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-08-13 14:18:53 +12:00
1 parent 113813617d
commit ed2b76050b
9 files changed
+38 -11

No files matched your search

@@ -373,6 +373,7 @@ async def _add_ble_features():
# Add feature-specific defines based on what's needed
if BLEFeatures.ESP_BT_DEVICE in _required_features:
cg.add_define("USE_ESP32_BLE_DEVICE")
cg.add_define("USE_ESP32_BLE_UUID")
ESP32_BLE_START_SCAN_ACTION_SCHEMA = cv.Schema(
@@ -33,10 +33,12 @@ enum AdvertisementParserType {
RAW_ADVERTISEMENTS,
};
#ifdef USE_ESP32_BLE_UUID
struct ServiceData {
ESPBTUUID uuid;
adv_data_t data;
};
#endif
#ifdef USE_ESP32_BLE_DEVICE
class ESPBLEiBeacon {