This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843AOPEVM: How to access the vital signs inside the tlv packet

Part Number: IWR6843AOPEVM

Howdy,

I am trying to access the vital signs variables located in the mss_main.c TLV packet pictured below. I am having trouble accessing the vital sign variables and was hoping I could I could receive some guidance on how to access the packet ( I am currently using a pointer what I believe is the packet      uint8_t* data = (uint8_t**)&message.body.detObj.tlv[itemIdx];). I am trying to display the values on an external screen so is there a way to access the values directly,  or a parser that is known to function inside code composer.

Thank you in advance,

Ally

  • Hello Ally,

    As you can see there, the output values are being written out over UART in the TLV data format. See these guides: Understanding UART Output and Vital Signs UART Output

    To display the values in your own way, you must catch and parse these packets over UART. This is exactly what our various visualizers do, so you can look at the source of those, e.g. <RADAR_TOOLBOX_DIR>/tools/visualizers/Industrial_Visualizer/parseTLVs.py . Look through this script, and specifically at the vital signs TLV section:


    Regards,
    Luke

  • Is there a way to access the packet and the vital signs data inside the code composer vital_signs_68xx_mss program?

  • Hi Ally,

    Yes, start from main, vital_signs_68xx_mss, and look for function calls similar to UART_writeProcessedOutput, in which the processed TLV packets are written out over UART. Work backwards from there, looking at the various data structures and function calls used, until you find what you need for your use case.

    Regards,
    Luke