BLE_DTM_EnhancedReceiverTest

C

uint16_t BLE_DTM_EnhancedReceiverTest(uint8_t rxChannel, uint8_t phy);

Description

Starts a receiver test where the device receives test reference packets at a fixed interval.

Note

BLE_DTM_Init must be called before using this function.

Parameters

ParameterDescription
[in] rxChannelChannel number calculated as (F – 2402) / 2, where F is the frequency in MHz ranging from 2402 to 2480 MHz. See Receiver or transmitter channel range for the valid ranges.
[in] phyPHY type setting for the test. See Receiver PHY types for possible values.

Return values

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