BLE_ANPC_WriteAncp

C

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

Description

Sends a command to the Alert Notification Control Point.

Parameters

ParameterDescription
[in] connHandleThe connection handle to identify the BLE connection.
[in] cmdIdThe command ID. See Command definition for valid values.
[in] catIdThe category Id. See Category Id for valid values.

Return values

Return valueDescription
MBA_RES_SUCCESSThe command was successfully sent.
MBA_RES_INVALID_PARAThe connection handle is invalid.
MBA_RES_OOMInternal memory allocation failure.