riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
202 stars 158 forks source link

Socktap receive CAM #70

Closed procann closed 5 years ago

procann commented 5 years ago

Hello,

I tried to receive CAMs with socktap but the CamApplication::indicate() method does not get called. Do I have to call this method somewhere manually? Sorry for this trivial question but I am unsure whether this has to be changed in vanetza or socktap or just my CAMs are not transmitted correctly.

Best regards, procann

riebl commented 5 years ago

Hi @procann,

you don't have to call CamApplication::indicate manually, it is invoked by the PortDispatcher located in socktap's RouterContext. Are you sure that data has been received at all? You may set a breakpoint at RouterContext::pass_up to verify this.

procann commented 5 years ago

Hi riebl,

you are correct. My interface does not show received Packets. Therefor it is not a fault in Socktap. Thanks a lot for your fast help!