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
Parameter | Description |
---|---|
[in] connHandle | Handle of the connection. |
[in] cmdId | The command Id. See Command definition. |
[in] catId | The category Id. See Category Id. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully issue a wirte packet to Alert Notification Control Point. |
MBA_RES_INVALID_PARA | Invalid connection handle. |
MBA_RES_OOM | Internal memory allocation failure. |