1.1.2.3.2.1.4.3 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

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

Return values

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