riebl / vanetza

Open-source implementation of the ETSI C-ITS protocol stack
Other
204 stars 156 forks source link

Denm messages #137

Closed mlds30 closed 1 year ago

mlds30 commented 3 years ago

Hi, I was wondering if you have a class like "cam_application" but for sending denm messages instead or if you can give me any guidelines for creating one with vanetza. Sorry for any trouble.

riebl commented 3 years ago

No, Vanetza does not contain a lot of "real" ITS applications because of the lack of a unified data source to generate CAMs or DENMs. The CamApplication of socktap is also just a rather simple demo implementation that sets most fields to "unavailable". A DenmApplication could be added to socktap, but also only as a simplified demo implementation.

You can find a more sophisticated DenService in Artery, though: https://github.com/riebl/artery/blob/master/src/artery/application/DenService.h Artery is our V2X simulation framework incorporating Vanetza.

maroueneboubakri commented 2 years ago

@riebl @mlds30 a DENM application added to socktap as done for CAM, does not receive any data indication, however, the router indicate a received packet. What could prevent routing the DENM to the application ?

riebl commented 2 years ago

Most likely the receiving router is not located within the addressed destination area. The GeoNetworking layer is supposed to only pass up those messages to the application layer for which it is an intended recipient.