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
Parameter | Description |
---|---|
[in] txChannel | Channel 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] txPower | Transmit power level in dBm, ranging from -127 to +20 dBm. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully starts the CW test. |
MBA_RES_OOM | Internal memory allocation failure occurred. |
MBA_RES_INVALID_PARA | The provided parameters are invalid. |