Hi
ANCS Get Notification Attributes , only EventIDNotificationAdded can get ? or Modified , Removed ?
I test ble_app_ancs_c get Notification Attributes , only can from EventIDNotificationAdded get Notification Attributes ...
thanks
Hi
ANCS Get Notification Attributes , only EventIDNotificationAdded can get ? or Modified , Removed ?
I test ble_app_ancs_c get Notification Attributes , only can from EventIDNotificationAdded get Notification Attributes ...
thanks
Hi,
You can get both modified and removed. Try to send a text message the phone which is connected to the ANCS peripheral, then remove the text message notification on the phone. Below is the log output I got (SDK 15.3.0):
Notification // <-- new text message
<info> app: Event: Added
<info> app: Category ID: Social
<info> app: Category Cnt:1
<info> app: UID: 18
<info> app: Flags:
<info> app: Negative Action
<info> app:
Notification // Notification removed
<info> app: Event: Removed
<info> app: Category ID: Social
<info> app: Category Cnt:0
<info> app: UID: 18
<info> app: Flags:
<info> app: Negative Action
thank you Berg
I mean, when Event ID Notification Modified or Removed , can i get Notification Attributes( nrf_ble_ancs_c_app_attr_requestr )?
i hope to get " App Identifier " ~
Hi,
I don't think it's possible to get attributes from a removed event. But you could keep track of the App identifier in your application, the UID seems to be unique: https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW10
Hi,
I don't think it's possible to get attributes from a removed event. But you could keep track of the App identifier in your application, the UID seems to be unique: https://developer.apple.com/library/archive/documentation/CoreBluetooth/Reference/AppleNotificationCenterServiceSpecification/Specification/Specification.html#//apple_ref/doc/uid/TP40013460-CH1-SW10