Added code to print received CAN packets.