1.1.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

ParameterDescription
[in] connHandleHandle of the connection.
[in] enableSet true to enable notification of Unread Alert. Otherwise set false.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully enable Unread Alert notification.
MBA_RES_INVALID_PARAInvalid connection handle.
MBA_RES_OOMInternal memory allocation failure.