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
Parameter | Description |
---|---|
[out] upperLimit | The upper limit of the golden range, not to exceed -50dBm. (Unit: dBm) |
[out] lowerLimit | The lower limit of the golden range, not to be less than -80dBm. (Unit: dBm) |
[out] stepDecreasePower | The maximum decrement in power for each step. (Unit: dBm) |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully sets the golden receive power range. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The parameters provided are invalid. |