Function etsi_its_cpm_ts_msgs::access::setItsPduHeader
Defined in File cpm_ts_setters.h
Function Documentation
-
inline void etsi_its_cpm_ts_msgs::access::setItsPduHeader(CollectivePerceptionMessage &cpm, const uint32_t station_id, const uint8_t protocol_version = 0)
Sets the ITS PDU header of a CPM.
This function sets the ITS PDU header of a CPM with the provided station ID and protocol version.
- Parameters:
cpm – The CPM to set the ITS PDU header for.
station_id – The station ID to set in the ITS PDU header.
protocol_version – The protocol version to set in the ITS PDU header. Default is 0.