From 6d76dbc9117693cc611ba106d696222580dbdc95 Mon Sep 17 00:00:00 2001 From: petter <39340152+petterhs@users.noreply.github.com> Date: Thu, 21 Jan 2021 23:36:17 +0100 Subject: change Notification Event base UUID --- src/components/ble/AlertNotificationService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/ble/AlertNotificationService.cpp') diff --git a/src/components/ble/AlertNotificationService.cpp b/src/components/ble/AlertNotificationService.cpp index 14d58d51..88d2ea8a 100644 --- a/src/components/ble/AlertNotificationService.cpp +++ b/src/components/ble/AlertNotificationService.cpp @@ -79,7 +79,7 @@ int AlertNotificationService::OnAlert(uint16_t conn_handle, uint16_t attr_handle Pinetime::System::SystemTask::Messages event = Pinetime::System::SystemTask::Messages::OnNewNotification; switch(*category) { - case (uint8_t) 0x05: + case (uint8_t) ANS_TYPE_NOTIFICATION_CALL: notif.category = Pinetime::Controllers::NotificationManager::Categories::IncomingCall; event = Pinetime::System::SystemTask::Messages::OnNewCall; break; -- cgit v1.2.3-70-g09d2