diff --git a/src/components/ble/DeviceInformationService.cpp b/src/components/ble/DeviceInformationService.cpp index 6f2ed762..f0d1b5a7 100644 --- a/src/components/ble/DeviceInformationService.cpp +++ b/src/components/ble/DeviceInformationService.cpp @@ -9,7 +9,6 @@ constexpr ble_uuid16_t DeviceInformationService::fwRevisionUuid; constexpr ble_uuid16_t DeviceInformationService::deviceInfoUuid; constexpr ble_uuid16_t DeviceInformationService::hwRevisionUuid; constexpr ble_uuid16_t DeviceInformationService::swRevisionUuid; -constexpr ble_uuid16_t DeviceInformationService::bootloaderVersionUuid; int DeviceInformationCallback(uint16_t /*conn_handle*/, uint16_t /*attr_handle*/, struct ble_gatt_access_ctxt* ctxt, void* arg) { auto deviceInformationService = static_cast(arg); @@ -47,9 +46,6 @@ int DeviceInformationService::OnDeviceInfoRequested(struct ble_gatt_access_ctxt* case swRevisionId: str = swRevision; break; - case bootloaderVersionId: - str = bootloaderVersion; - break; default: return BLE_ATT_ERR_UNLIKELY; } @@ -95,12 +91,6 @@ DeviceInformationService::DeviceInformationService() .arg = this, .flags = BLE_GATT_CHR_F_READ, }, - { - .uuid = &bootloaderVersionUuid.u, - .access_cb = DeviceInformationCallback, - .arg = this, - .flags = BLE_GATT_CHR_F_READ, - }, {0}}, serviceDefinition { {/* Device Information Service */