summaryrefslogtreecommitdiff
path: root/src/components/ble/AlertNotificationService.cpp
diff options
context:
space:
mode:
authorpetter <39340152+petterhs@users.noreply.github.com>2021-01-08 14:21:52 +0100
committerpetter <39340152+petterhs@users.noreply.github.com>2021-01-21 23:15:34 +0100
commit2d90571f0d9b86d7d7fbf414bbadd5092143c670 (patch)
treeebc3eeda93d42ffddda8c63c916ce1749cc93238 /src/components/ble/AlertNotificationService.cpp
parent10ba20876f37c8e18307dfbc8d06d70bb94d5fae (diff)
change Notification Event UUID
Diffstat (limited to 'src/components/ble/AlertNotificationService.cpp')
-rw-r--r--src/components/ble/AlertNotificationService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ble/AlertNotificationService.cpp b/src/components/ble/AlertNotificationService.cpp
index 9b9b4e9e..14d58d51 100644
--- a/src/components/ble/AlertNotificationService.cpp
+++ b/src/components/ble/AlertNotificationService.cpp
@@ -9,7 +9,7 @@ using namespace Pinetime::Controllers;
constexpr ble_uuid16_t AlertNotificationService::ansUuid;
constexpr ble_uuid16_t AlertNotificationService::ansCharUuid;
-constexpr ble_uuid16_t AlertNotificationService::ansEventUuid;
+constexpr ble_uuid128_t AlertNotificationService::notificationEventUuid;
int AlertNotificationCallback(uint16_t conn_handle, uint16_t attr_handle, struct ble_gatt_access_ctxt *ctxt, void *arg) {
@@ -35,7 +35,7 @@ AlertNotificationService::AlertNotificationService ( System::SystemTask& systemT
.flags = BLE_GATT_CHR_F_WRITE
},
{
- .uuid = (ble_uuid_t *) &ansEventUuid,
+ .uuid = (ble_uuid_t *) &notificationEventUuid,
.access_cb = AlertNotificationCallback,
.arg = this,
.flags = BLE_GATT_CHR_F_NOTIFY,