BLE_DTM_StartCwTest

C

uint16_t BLE_DTM_StartCwTest(uint8_t txChannel, int8_t txPower);

Description

Starts a Continuous Wave (CW) test on a specific channel and with a specific power level.

Note

BLE_DTM_Init must be called before using this function.

Parameters

ParameterDescription
[in] txChannelChannel number calculated as (F – 2402), where F is the frequency in MHz ranging from 2402 to 2480 MHz. See Receiver or transmitter channel range for the valid ranges.
[in] txPowerTransmit power level in dBm, ranging from -127 to +20 dBm.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully starts the CW test.
MBA_RES_OOMInternal memory allocation failure occurred.
MBA_RES_INVALID_PARAThe provided parameters are invalid.