* @param {string} stdOrganization ontains the V2X standard which apply to the V2X message (e,g, ETSI for C-ITS)
* @param {string} stdOrganization ontains the V2X standard which apply to the V2X message (e,g, ETSI for C-ITS)
* @param {struct} msgType conatins the type of the V2X message (e.g. CA message)
* @param {struct} msgType conatins the type of the V2X message (e.g. CA message)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
@@ -796,7 +796,7 @@ func PublishMessageOnMessageBroker(msgContent string, msgEncodeFormat string, st
/*
/*
* StartV2xMessageBrokerServer start the brocker server (e.g. MQTT)
* StartV2xMessageBrokerServer start the brocker server (e.g. MQTT)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* StopV2xMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* StopV2xMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
//const PRED_QOS_NOTIF = "PredQosNotification" // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS MEC 030 V3.1.1 (2023-03)
//const PRED_QOS_NOTIF = "PredQosNotification" // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03)
constTEST_NOTIF="TestNotification"
constTEST_NOTIF="TestNotification"
constNOTIFY_EXPIRY="ExpiryNotification"
constNOTIFY_EXPIRY="ExpiryNotification"
@@ -124,7 +124,7 @@ var provChgUuMbmsSubscriptionMap = map[int]*ProvChgUuMbmsSubscription{} // List
varprovChgPc5SubscriptionMap=map[int]*ProvChgPc5Subscription{}// List of registered PC5 subscription
varprovChgPc5SubscriptionMap=map[int]*ProvChgPc5Subscription{}// List of registered PC5 subscription
varv2xMsgSubscriptionMap=map[int]*V2xMsgSubscription{}// List of registered V2X message subscription
varv2xMsgSubscriptionMap=map[int]*V2xMsgSubscription{}// List of registered V2X message subscription
//var predQosSubscriptionMap = map[int]*PredQosSubscription{} // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS MEC 030 V3.1.1 (2023-03)
//var predQosSubscriptionMap = map[int]*PredQosSubscription{} // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03)
//predQosSubscriptionMap = map[int]*PredQosSubscription{} // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS MEC 030 V3.1.1 (2023-03)
//predQosSubscriptionMap = map[int]*PredQosSubscription{} // FIXME FSCOM There is no PredQosNotification defined by the standard ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03)
* StopFedMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* StopFedMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as FED Message Distribution Server for exchanging non-session based FED messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as FED Message Distribution Server for exchanging non-session based FED messages
* @param {string} stdOrganization ontains the V2X standard which apply to the V2X message (e,g, ETSI for C-ITS)
* @param {string} stdOrganization ontains the V2X standard which apply to the V2X message (e,g, ETSI for C-ITS)
* @param {struct} msgType conatins the type of the V2X message (e.g. CA message)
* @param {struct} msgType conatins the type of the V2X message (e.g. CA message)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* StartV2xMessageBrokerServer start the brocker server (e.g. MQTT)
* StartV2xMessageBrokerServer start the brocker server (e.g. MQTT)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* StopV2xMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* StopV2xMessageBrokerServer shutdown the brocker server (e.g. MQTT)
* @return {struct} nil on success, error otherwise
* @return {struct} nil on success, error otherwise
* @see ETSI GS MEC 030 V3.1.1 (2023-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages
* @see ETSI GS ETSI GS MEC 040 V3.2.1 (2024-03) Annex D (informative): State-of-the-art of using a Message Broker as V2X Message Distribution Server for exchanging non-session based V2X messages