From 814ab25bd4307fef93e6a595a852a27df2d1b699 Mon Sep 17 00:00:00 2001 From: liamcharger Date: Mon, 21 Oct 2024 15:02:38 -0400 Subject: [PATCH] Revert "Add bootloader to DeviceInformationService.h" This reverts commit f3f0fd568d96dea1ebd30529b4b8b6d5f4d5444b. --- src/components/ble/DeviceInformationService.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/ble/DeviceInformationService.h b/src/components/ble/DeviceInformationService.h index 1fc8a180..c4babd1b 100644 --- a/src/components/ble/DeviceInformationService.h +++ b/src/components/ble/DeviceInformationService.h @@ -6,7 +6,6 @@ #undef max #undef min #include "Version.h" -#include "BootloaderVersion.h" namespace Pinetime { namespace Controllers { @@ -25,7 +24,6 @@ namespace Pinetime { static constexpr uint16_t fwRevisionId {0x2a26}; static constexpr uint16_t hwRevisionId {0x2a27}; static constexpr uint16_t swRevisionId {0x2a28}; - static constexpr uint16_t bootloaderVersionId {0x2a2B}; static constexpr const char* manufacturerName = "PINE64"; static constexpr const char* modelNumber = "PineTime"; @@ -33,7 +31,6 @@ namespace Pinetime { static constexpr const char* serialNumber = "0"; static constexpr const char* fwRevision = Version::VersionString(); static constexpr const char* swRevision = "InfiniTime"; - static constexpr const char* bootloaderVersion = BootloaderVersion::VersionString(); static constexpr ble_uuid16_t deviceInfoUuid {.u {.type = BLE_UUID_TYPE_16}, .value = deviceInfoId}; @@ -49,8 +46,6 @@ namespace Pinetime { static constexpr ble_uuid16_t swRevisionUuid {.u {.type = BLE_UUID_TYPE_16}, .value = swRevisionId}; - static constexpr ble_uuid16_t bootloaderVersionUuid {.u {.type = BLE_UUID_TYPE_16}, .value = bootloaderVersionId}; - struct ble_gatt_chr_def characteristicDefinition[7]; struct ble_gatt_svc_def serviceDefinition[2]; };