1.1.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
Parameter | Description |
---|---|
[out] upperLimit | The golden range upper value. No higher than -50dBm. (Unit: dBm) |
[out] lowerLimit | The golden range lower value. No lower than -80dBm. |
[out] stepDecreasePower | The maximum decrease power for each single step. (Unit: dBm) |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set golden receive power range. |
MBA_RES_OOM | Internal memory allocation failure. |
MBA_RES_INVALID_PARA | Invalid parameters. |