1.2.2.1.1.4.49 BLE_GAP_SetExtAdvParams

C

uint16_t BLE_GAP_SetExtAdvParams(BLE_GAP_ExtAdvParams_T *p_extAdvParams, int8_t *p_selectedTxPower);

Parameters

ParameterDescription
[in] p_extAdvParamsPointer to BLE_GAP_ExtAdvParams_T structure buffer.
[out] p_selectedTxPowerPoint to the real transmit power level. (Unit: dBm)

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully configure the extended advertising parameters.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.
MBA_RES_COMMAND_DISALLOWEDCommand disallowed.