In user's guide of obstacle demo, there are 4 TLV types in data packet format.
As I understand, these types should match with the MmwDemo_output_message_type. In mss_main.c, function Get_CanMessageIdentifier checks the message type and assign the CAN ID. But it looks like the TLV type: cluster and range elevation heat map are not included.
mmwDemo_can_message_type Get_CanMessageIdentifier(MmwDemo_output_message_type type) { mmwDemo_can_message_type can_msgId; if(type == MMWDEMO_OUTPUT_MSG_DETECTED_POINTS) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_DETECTED_POINTS; } else if(type == MMWDEMO_OUTPUT_MSG_RANGE_PROFILE) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_RANGE_PROFILE; } else if(type == MMWDEMO_OUTPUT_MSG_NOISE_PROFILE) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_NOISE_PROFILE; } else if(type == MMWDEMO_OUTPUT_MSG_AZIMUT_STATIC_HEAT_MAP) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_AZIMUT_STATIC_HEAT_MAP; } else if(type == MMWDEMO_OUTPUT_MSG_RANGE_DOPPLER_HEAT_MAP) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_RANGE_DOPPLER_HEAT_MAP; } else if (type == MMWDEMO_OUTPUT_MSG_STATS) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_STATS; } else if (type == MMWDEMO_HEADER) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_HEADER; } else if (type == MMWDEMO_PADDING) { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_PADDING; } else { can_msgId = (mmwDemo_can_message_type)CAN_MESSAGE_MMWDEMO_MAX; } if(txMsgObjectParams.msgIdType == CANFD_MCANXidType_29_BIT) { can_msgId |= ~(0xFFFFFFFF); } return can_msgId; }
Could you please check if TLV types are included in MmwDemo_output_message_type?
Kind regards