Revert "Add bootloader to DeviceInformationService.h"

This reverts commit f3f0fd568d.
This commit is contained in:
liamcharger 2024-10-21 15:02:38 -04:00
parent f3f0fd568d
commit 814ab25bd4

View file

@ -6,7 +6,6 @@
#undef max #undef max
#undef min #undef min
#include "Version.h" #include "Version.h"
#include "BootloaderVersion.h"
namespace Pinetime { namespace Pinetime {
namespace Controllers { namespace Controllers {
@ -25,7 +24,6 @@ namespace Pinetime {
static constexpr uint16_t fwRevisionId {0x2a26}; static constexpr uint16_t fwRevisionId {0x2a26};
static constexpr uint16_t hwRevisionId {0x2a27}; static constexpr uint16_t hwRevisionId {0x2a27};
static constexpr uint16_t swRevisionId {0x2a28}; static constexpr uint16_t swRevisionId {0x2a28};
static constexpr uint16_t bootloaderVersionId {0x2a2B};
static constexpr const char* manufacturerName = "PINE64"; static constexpr const char* manufacturerName = "PINE64";
static constexpr const char* modelNumber = "PineTime"; static constexpr const char* modelNumber = "PineTime";
@ -33,7 +31,6 @@ namespace Pinetime {
static constexpr const char* serialNumber = "0"; static constexpr const char* serialNumber = "0";
static constexpr const char* fwRevision = Version::VersionString(); static constexpr const char* fwRevision = Version::VersionString();
static constexpr const char* swRevision = "InfiniTime"; 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}; 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 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_chr_def characteristicDefinition[7];
struct ble_gatt_svc_def serviceDefinition[2]; struct ble_gatt_svc_def serviceDefinition[2];
}; };