1.2.2.3.2.1.4.4 BLE_ANPC_EnableUnreadAlertNtfy
C
uint16_t BLE_ANPC_EnableUnreadAlertNtfy(uint16_t connHandle, bool enable);
Description
Enable Unread Alert Notificaiton.
Application must call this API after starting BLE Alert Notification Client procedure.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection. |
[in] enable | Set true to enable notification of Unread Alert. Otherwise set false. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully enable Unread Alert notification. |
MBA_RES_INVALID_PARA | Invalid connection handle. |
MBA_RES_OOM | Internal memory allocation failure. |