BLE_GAP_SetGoldenRxPowerRange

C

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

Description

Sets the golden receive power range.

Parameters

ParameterDescription
[out] upperLimitThe upper limit of the golden range, not to exceed -50dBm. (Unit: dBm)
[out] lowerLimitThe lower limit of the golden range, not to be less than -80dBm. (Unit: dBm)
[out] stepDecreasePowerThe maximum decrement in power for each step. (Unit: dBm)

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sets the golden receive power range.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe parameters provided are invalid.