1.2.2.3.1.1.3.3 BLE_ANCS_DecodeNtfyAttrs_T

C

typedef struct
{
    BLE_ANCS_NtfyAttrsMask_T    bitmask;
    uint32_t                    ntfyId;
    uint8_t                     appId[BLE_ANCS_MAX_APPID_LEN];
    uint8_t                     *p_title;
    uint8_t                     *p_subtitle;
    uint8_t                     *p_msg;
    uint16_t                    msgSize;
    uint8_t                     date[BLE_ANCS_MAX_DATE_LEN];
    uint8_t                     positiveAction[BLE_ANCS_MAX_POS_ACTION_LABEL_LEN];
    uint8_t                     negativeAction[BLE_ANCS_MAX_NEG_ACTION_LABEL_LEN];
} BLE_ANCS_DecodeNtfyAttrs_T;

Description

The structure contains iOS notification attributes decoded information.

Field Documentation

FieldDescription
bitmaskNotification attribute bitmask. It's used to indicate whether the following filed is enabled or not.
ntfyIdNotification UID.
appIdValid if App Identifier is enabled.
p_titleValid if Title is enabled.
p_subtitleValid if Sub Title is enabled.
p_msgValid if Message is enabled.
msgSizeValid if Message Size is enabled.
dateValid if Date is enabled.
positiveActionValid if Positive Action is enabled.
negativeActionValid if Negative Action is enabled.