From 686e826f4e656546523e989535c74f286a91855b Mon Sep 17 00:00:00 2001 From: Adam Pigg Date: Wed, 15 Jul 2020 10:02:01 +0100 Subject: Rework characteristic handling --- src/Components/Ble/MusicService.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Components/Ble/MusicService.h') diff --git a/src/Components/Ble/MusicService.h b/src/Components/Ble/MusicService.h index 8139d96e..ba872358 100644 --- a/src/Components/Ble/MusicService.h +++ b/src/Components/Ble/MusicService.h @@ -39,9 +39,6 @@ namespace Pinetime { static constexpr uint8_t msTrackCharId[2] = {0x00, 0x05}; static constexpr uint8_t msAlbumCharId[2] = {0x00, 0x06}; - uint16_t connectionHandle = 0; - uint16_t eventCharacteristicHandle = 0; - ble_uuid128_t msUuid { .u = { .type = BLE_UUID_TYPE_128 }, .value = MUSIC_SERVICE_UUID_BASE @@ -70,6 +67,8 @@ namespace Pinetime { struct ble_gatt_chr_def characteristicDefinition[6]; struct ble_gatt_svc_def serviceDefinition[2]; + + uint16_t m_eventHandle; std::string m_artist; std::string m_album; -- cgit v1.2.3-70-g09d2