BLE_ANPC_EnableNewAlertNtfy
C
uint16_t BLE_ANPC_EnableNewAlertNtfy(uint16_t connHandle, bool enable);Description
Enable New Alert Notification.
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 New Alert. Otherwise set false. | 
Return values
| Return value | Description | 
|---|---|
| MBA_RES_SUCCESS | Successfully enable New Alert notification. | 
| MBA_RES_INVALID_PARA | Invalid connection handle. | 
| MBA_RES_OOM | Internal memory allocation failure. | 
