1.2.2.1.1.4.54 BLE_GAP_SetGoldenRxPowerRange

C

uint16_t BLE_GAP_SetGoldenRxPowerRange(int8_t upperLimit, int8_t lowerLimit, uint8_t stepDecreasePower);

Description

Set the golden receive power range.

Parameters

ParameterDescription
[out] upperLimitThe golden range upper value. No higher than -30dBm. (Unit: dBm)
[out] lowerLimitThe golden range lower value. No lower than -80dBm.
[out] stepDecreasePowerThe maximum decrease power for each single step. (Unit: dBm)

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully set golden receive power range.
MBA_RES_OOMInternal memory allocation failure.
MBA_RES_INVALID_PARAInvalid parameters.