diff options
author | Adam Pigg <adam@piggz.co.uk> | 2020-07-15 10:02:01 +0100 |
---|---|---|
committer | Adam Pigg <adam@piggz.co.uk> | 2020-07-15 10:02:01 +0100 |
commit | 686e826f4e656546523e989535c74f286a91855b (patch) | |
tree | fffbdafbf06bd158345abb0577ba859cde1d8df0 /src/Components/Ble/MusicService.h | |
parent | 306aa25aada3635506c593c6a90bf03218365d02 (diff) |
Rework characteristic handling
Diffstat (limited to 'src/Components/Ble/MusicService.h')
-rw-r--r-- | src/Components/Ble/MusicService.h | 5 |
1 files changed, 2 insertions, 3 deletions
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; |