BLE_ANPC_GetCharList
C
uint16_t BLE_ANPC_GetCharList(uint16_t connHandle, uint16_t charUuid, BLE_ANPC_CharList_T *p_charList);Description
Retrieves a list of discovered Alert Notification service characteristics. This function should be called after the BLE_ANPC_EVT_DISC_COMPLETE_IND event.
Parameters
| Parameter | Description |
|---|---|
| [in] connHandle | The connection handle to identify the BLE connection. |
| [in] charUuid | The UUID of the characteristic to look for. |
| [out] p_charList | On success, filled with the discovered characteristics info. See BLE_ANPC_CharList_T. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | The characteristic list was successfully retrieved. |
| MBA_RES_INVALID_PARA | The parameters are invalid (e.g., invalid connection handle or UUID). |
