I want to print on the console the Relative Power and the Range associate in meters. I 'm talking about these 2 values used in the visualizer:
The part of the code where the data is printed on the uart is here:
/* Send Range profile */
if (pGuiMonSel->logMagRange)
{
UART_writePolling (uartHandle,
(uint8_t*)&tl[tlvIdx],
sizeof(MmwDemo_output_message_tl));
for(i = 0; i < subFrameCfg->numRangeBins; i++) //numRangeBins = number of adc samples
{
UART_writePolling (uartHandle, (uint8_t*)&detMatrix[i * subFrameCfg->numDopplerBins], sizeof(uint16_t)); // data sent on uart
}
tlvIdx++;
}
How can I extract the 2 values corresponding to relative power and range ?
I want print this values on console.
What are the structure of range profile data ?
Thank you,
Daniel C.