BLE_ANPS_SetSuppUnreadCat
C
uint16_t BLE_ANPS_SetSuppUnreadCat(uint16_t catMask);
Description
Sets the supported categories for unread alerts.
Parameters
Parameter | Description |
---|---|
[in] catMask | Category mask for unread alerts. Refer to ANPS supported category ID bit masks for possible values. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Category mask for unread alerts. Refer to ANPS supported category ID bit masks for possible values. |
MBA_RES_FAIL | Cannot change supported categories while in a connection. |
MBA_RES_INVALID_PARA | The parameter is invalid or does not meet the specification. |