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
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle to identify the BLE connection. |
| [in] cmdId | The command ID. See Command definition for valid values. |
| [in] catId | The category Id. See Category Id for valid values. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The command was successfully sent. |
| MBA_RES_INVALID_PARA | The connection handle is invalid. |
| MBA_RES_OOM | Internal memory allocation failure. |
