This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ANCS Get Notification Attributes , only form EventIDNotificationAdded can get ? or Modified , Removed ?

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

Parents
  • 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 " ~ 

Reply Children
Related