summaryrefslogtreecommitdiff
path: root/src/components/ble/AlertNotificationService.cpp
diff options
context:
space:
mode:
authorpetter <39340152+petterhs@users.noreply.github.com>2021-01-21 22:36:17 (GMT)
committerpetter <39340152+petterhs@users.noreply.github.com>2021-01-21 22:36:17 (GMT)
commit6d76dbc9117693cc611ba106d696222580dbdc95 (patch)
tree7ec70f77af90922180de9d859748a6b0eea3ade2 /src/components/ble/AlertNotificationService.cpp
parent2d90571f0d9b86d7d7fbf414bbadd5092143c670 (diff)
change Notification Event base UUID
Diffstat (limited to 'src/components/ble/AlertNotificationService.cpp')
-rw-r--r--src/components/ble/AlertNotificationService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/AlertNotificationService.cpp b/src/components/ble/AlertNotificationService.cpp
index 14d58d5..88d2ea8 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;