Newer
Older
/**
* @version $URL:$
* $Id:$
* @desc Fast service advertisement protocol (ISO 24102-5) Pixits
*/
module LibItsFsap_Pixits {
// LibCommon
// LibIts
import from CALMllsap language "ASN.1:1997" all;
import from CITSapplMgmtApplReg language "ASN.1:1997" {
garciay
committed
type ITSaid
import from CALMmanagement language "ASN.1:1997" {
type
garciay
committed
ITS_scuId, StationID,
Talive
};
import from CALMfsap language "ASN.1:1997" {
type
garciay
committed
FmtID, VersionFSAP,
import from CALMfntp language "ASN.1:1997" {
type
PortNumber
};
garciay
committed
import from LibItsFntp_TypesAndValues {
const
c_portNon
};
/**
* @desc Local settings
*/
group local {
/**
garciay
committed
* @desc Identifies the CI on ITS-S host
* @see ISO 21218 - Clause 6.2 Link Identifier
garciay
committed
modulepar EUI64 PX_SRC_LOCAL_CIID := '0000000000000000'O;
garciay
committed
* @desc Identifies the VCI on ITS-S host
garciay
committed
modulepar EUI64 PX_SRC_REMOTE_CIID := '0000000000000000'O;
/**
* @desc TODO
*/
modulepar UserPriority PX_USER_PRIORITY := 0; // TODO Check if it is used somewhere
} // End of group local
group CRegServer {
garciay
committed
modulepar StationID PX_CLIENT_ID := '00000000'O;
modulepar ITSaid PX_ITS_AID := { content := 0 }
garciay
committed
modulepar PortNumber PX_SESSION_PORT := { portLong := 1234 }
modulepar PortNumber PX_NO_SESSION_PORT := { portLong := c_portNon }
modulepar ApplicationID PX_APPLICATION_ID := {
garciay
committed
/**
* @desc
* 'medium' field indicates the required access technology
*/
modulepar GCsched PX_GSCHED_ACCESS_TECH_NONIP := {
garciay
committed
medium := 128, // FIXME TTwb does not generate MedType_iso15628_
directivity := {
mode := 0, // FIXME TTwb does not generate DirMode.fixed label
dirPredef := 0,
fill := '0000000'B,
dirVar := { }
}, // End of field 'directivity'
} // End of modulepar PX_GSCHED_ACCESS_TECH_NONIP
garciay
committed
/**
* @desc
* 'medium' field indicates no required access technology selected
*/
modulepar GCsched PX_GSCHED_NONIP := {
medium := 1, // FIXME TTwb does not generate MedType_any_
directivity := {
mode := 0, // FIXME TTwb does not generate DirMode.fixed label
dirPredef := 0,
fill := '0000000'B,
dirVar := { }
}, // End of field 'directivity'
gcInterval := 1
} // End of modulepar PX_GSCHED_NONIP
modulepar ServiceDataReg PX_SERVICE_DATA_REG_WITH_NO_SESSION_PHASE := {
fill := '0000000'B,
datareg := {
nonipData := {
serviceID := PX_ITS_AID,
timeout_ := 100,
serviceData := ''O,
providerPort := PX_NO_SESSION_PORT
} // End of field 'nonipData'
} // End of field 'datareg'
} // End of modulepar PX_SERVICE_DATA_REG_WITH_NO_SESSION_PHASE
modulepar ServiceDataReg PX_SERVICE_DATA_REG_WITH_SESSION_PHASE := {
fill := '0000000'B,
datareg := {
nonipData := {
garciay
committed
providerPort := PX_SESSION_PORT
} // End of field 'nonipData'
} // End of field 'datareg'
garciay
committed
} // End of modulepar PX_SERVICE_DATA_REG_WITH_SESSION_PHASE
/**
* Wait until the IUT is in a stable situation (beaconing...)
*/
modulepar float PX_WAIT_FOR_IUT_READY := 1.0;
garciay
committed
modulepar FmtID PX_FMTID_SAM := 0;
modulepar FmtID PX_FMTID_CTX := 0;
modulepar VersionFSAP PX_VERSION_FSAP := 0;