1.2.2.3.2.1.4.11 BLE_ANPC_WriteAncp

C

uint16_t BLE_ANPC_WriteAncp(uint16_t connHandle, uint8_t cmdId, uint8_t catId);

Description

Write Alert Notification Control Point.

Application must call this API after starting BLE Alert Notification Client procedure.

Parameters

ParameterDescription
[in] connHandleHandle of the connection.
[in] cmdIdThe command Id. See Command definition.
[in] catIdThe category Id. See Category Id.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully issue a wirte packet to Alert Notification Control Point.
MBA_RES_INVALID_PARAInvalid connection handle.
MBA_RES_OOMInternal memory allocation failure.