Add a simple service to allow setting the time from a controlling

application
This commit is contained in:
Adam Pigg
2020-04-28 11:21:35 +01:00
parent 332b51464a
commit b760b3f98c
5 changed files with 129 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
#include "AlertNotificationClient.h"
#include "DeviceInformationService.h"
#include "CurrentTimeClient.h"
#include "PinetimeService.h"
#include <host/ble_gap.h>
namespace Pinetime {
@@ -35,6 +36,7 @@ namespace Pinetime {
DeviceInformationService deviceInformationService;
CurrentTimeClient currentTimeClient;
AlertNotificationClient alertNotificationClient;
PinetimeService pinetimeService;
uint8_t addrType;
uint16_t connectionHandle;
};