mguentner/cannelloni

Not sending frames in sequence

tvesalainen opened this issue · 2 comments

I was testing cannelloni with following command:
cannelloni -l 10000 -p -t 10 -R 224.0.0.3 -I can1

I noticed that there are gaps in seqNo field. 24, 26, 28. SeqNo's 25 and 27 are missing.

Following is a print of
tcpdump -x port 20000
at the same host as cannelloni is running.

03:14:22.948049 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 448c 4000 0111 bde0 c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2300
0x0020: 0199 fa04 4d08 0c11 0100 f21d 0b02
03:14:22.948605 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 448d 4000 0111 bddf c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2400
0x0020: 0199 fa04 4d08 0d5d 0136 1000 0000
03:14:22.949721 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 448f 4000 0111 bddd c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2600
0x0020: 0199 fa04 4d08 0f32 1110 2700 00f2
03:14:22.950831 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 4491 4000 0111 bddb c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2800
0x0020: 0199 fa04 4d08 11b0 3cff fff2 2e45
03:14:22.951362 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 4492 4000 0111 bdda c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2900
0x0020: 0199 fa04 4d08 120c ff2c b211 0000
03:14:22.952570 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 4494 4000 0111 bdd8 c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2b00
0x0020: 0199 fa04 4d08 1433 6b0f 0000 0000
03:14:22.953644 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 4496 4000 0111 bdd6 c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2d00
0x0020: 0199 fa06 4d08 000f a5c8 0096 0072
03:14:22.954769 IP pi3dashboard.iiris.10000 > 224.0.0.3.20000: UDP, length 18
0x0000: 4500 002e 4498 4000 0111 bdd4 c0a8 d6a6
0x0010: e000 0003 2710 4e20 001a 777e 0200 2f00
0x0020: 0199 fa06 4d08 02fa 00ff ffff ffff

Do you have logs of the interface can1? This would prove that 25 & 27 actually arrived on the physical interface.
To enable logging in cannelloni, use: -d cu - this will print CAN frames in a similar fashion like candump does.

Closing because of inactivity.