How to get more than one ID from the Can-Bus?


I have a Can-Bus shield which is connected to a Mega 2560 and I have a can-sensor which is connected to the shield. The sensor needs two messages (ID 0x000 once and 0x080 cyclic) to work properly. The communication works but I want to know the IDs from the messages that the sensor sends. I am using the function “getCanId()” but I only get the ID 0x080. I know that the sensor sends three different messages (heartbeat, value x-axis, value y-axis) because I’m using PCAN View to see what is happening but I want to do it with the shield. Is it possible to get all IDs from the messages on the Can-Bus?

Thanks for helping! :slightly_smiling_face:

PS: Please ignore spelling and grammar mistakes. :upside_down_face: