BLE_ANPS_SendUnreadAlertStat

C

uint16_t BLE_ANPS_SendUnreadAlertStat(uint16_t connHandle, uint8_t catId, uint8_t unreadCnt);

Description

Sends an unread alert status notification to a connected peer device.

Parameters

ParameterDescription
[in] connHandleThe connection handle.
[in] catIdThe category ID of the alert. Refer to ANPS category identifiers for possible values.
[in] unreadCntThe count of unread alerts.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sent the unread alert status notification.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_NO_RESOURCENo available buffer to transmit the unread alert status notification.
MBA_RES_INVALID_PARAInvalid parameters.