1.2.2.1.1.4.52 BLE_GAP_SetExtScanRspData

C

uint16_t BLE_GAP_SetExtScanRspData(BLE_GAP_ExtAdvDataParams_T *p_scanDataParam);

Description

Configure extended scan response data.

Note

This API may be issued at any time after an advertising set identified by the advHandle parameter has been created using the BLE_GAP_SetExtAdvParams API. No matter advertising in that set is enabled or disabled.

This API belongs to extended advertising feature. It will be disallowed if any one API that belongs to legacy advertising feature is issued before. Categories of advertising APIs and events for details of advertising APIs.

BLE_GAP_AdvInit and BLE_GAP_ExtAdvInit are required for this API.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully configure extended scan response data.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.
MBA_RES_UNKNOWN_ADV_IDUnknown advertising identifier.