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
Parameter | Description |
---|---|
[out] p_packetCount | Pointer 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_avgRssi | Pointer to store the average RSSI value. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully stops the ongoing test and retrieves results. |
MBA_RES_OOM | Internal memory allocation failure occurred. |