BLE_DTM_EndTest

C

uint16_t BLE_DTM_EndTest(uint16_t *p_packetCount, int8_t *p_avgRssi);

Description

Stops any ongoing test.

Note

BLE_DTM_Init must be called before using this function.

Parameters

ParameterDescription
[out] p_packetCountPointer to store the packet count. For a transmitter test, this will be zero. For a receiver test, it will be the number of received packets.
[out] p_avgRssiPointer to store the average RSSI value.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully stops the ongoing test and retrieves results.
MBA_RES_OOMInternal memory allocation failure occurred.