riebl/vanetza

Autogenerate StationID

Sanjaer opened this issue · 2 comments

Is there a way to autogenerate the field StationID?
In Cohda this field is autogenerated based on the MAC of the station.

riebl commented

We currently have no specific function for this purpose, i.e. setting the StationID has to be handled by the software using Vanetza.
I would be happy if you provide such a function via a pull request extending Vanetza's facilities layer. This function could be used for

header.stationID = 1; // some dummy value
then as well.

Ok thanks! If I develop something worth it I'll surely push it