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

ParameterDescription
[in] connHandleThe connection handle to identify the BLE connection.
[in] charUuidThe UUID of the characteristic to look for.
[out] p_charListOn success, filled with the discovered characteristics info. See BLE_ANPC_CharList_T.

Return values

Return valueDescription
MBA_RES_SUCCESSThe characteristic list was successfully retrieved.
MBA_RES_INVALID_PARAThe parameters are invalid (e.g., invalid connection handle or UUID).