BLE_ANPC_EnableNewAlertNtfy
C
uint16_t BLE_ANPC_EnableNewAlertNtfy(uint16_t connHandle, bool enable);Description
Enables or disables notifications for new alerts.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle to identify the BLE connection. |
| [in] enable | Set to true to enable notifications; false to disable. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The operation was successful. |
| MBA_RES_INVALID_PARA | The connection handle is invalid. |
| MBA_RES_OOM | Internal memory allocation failure. |
