Add start of music appliction

This commit is contained in:
Adam Pigg
2020-07-11 21:37:28 +01:00
parent 0bcaf9c22d
commit 7a1e6e6e5b
8 changed files with 17 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
#include "CurrentTimeClient.h"
#include "DfuService.h"
#include "CurrentTimeService.h"
#include "MusicService.h"
#include <host/ble_gap.h>
namespace Pinetime {
@@ -35,6 +36,9 @@ namespace Pinetime {
uint16_t characteristicValueHandle, const ble_gatt_dsc *descriptor);
void StartDiscovery();
Pinetime::Controllers::MusicService& music() {return musicService;};
private:
static constexpr char* deviceName = "Pinetime-JF";
Pinetime::System::SystemTask& systemTask;
@@ -49,6 +53,7 @@ namespace Pinetime {
AlertNotificationService anService;
AlertNotificationClient alertNotificationClient;
CurrentTimeService currentTimeService;
MusicService musicService;
uint8_t addrType; // 1 = Random, 0 = PUBLIC
uint16_t connectionHandle;