Loading ttcn/CALM/ATSP/LibItsAtsp_Pixits.ttcn3 +16 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,8 @@ module LibItsAtsp_Pixits { import from CALMllsap language "ASN.1:1997" { type all // EUI64, MedID, VCIserialNumber, IN_SAPaddress, I_ParamNo, I_Param, MedID type EUI64, MedID, VCIserialNumber, IN_SAPaddress, I_ParamNo, I_Param, MedID }; import from CALMmanagement language "ASN.1:1997" { Loading @@ -16,6 +16,11 @@ module LibItsAtsp_Pixits { ITS_scuId }; import from CALMmsap language "ASN.1:1997" { type DataUnitData, ParameterUnitData }; import from LibItsAtsp_TypesAndValues all; group Iparameter { Loading Loading @@ -73,6 +78,15 @@ module LibItsAtsp_Pixits { */ modulepar float PX_WAIT_FOR_IUT_READY := 1.0; /** * Data in UnitData */ modulepar DataUnitData PX_DATA_UNITDATA := 'ABCDEF'O; /** * Parameter in UnitData */ modulepar ParameterUnitData PX_PARAMETER_UNITDATA := '012345'O; /** * @desc Identifies RemoteLocalCIID group Loading ttcn/CALM/ATSP/LibItsAtsp_Templates.ttcn3 +75 −14 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ module LibItsAtsp_Templates { UserPriority, LLserviceAddr, INdata, IN_SAPaddress, EUI64, Link_ID, AccessParameters, NullType, Errors NullType, Errors, INtxStatus }; import from CALMmsap language "ASN.1:1997" { Loading @@ -28,7 +28,8 @@ module LibItsAtsp_Templates { MI_Get_request, MI_Get_confirm, MI_Set_request, MI_Set_confirm, SimIUTcmd , CONcmd, VciCmd CONcmd, VciCmd, UnitData, DataUnitData, ParameterUnitData }; import from CALMmanagement language "ASN.1:1997" { Loading Loading @@ -127,6 +128,29 @@ module LibItsAtsp_Templates { /** * @desc Send template * Registration Command to confirm with * @param p_sourceLinkID * @param p_destinationLinkID * @param p_data * @param p_priority * @param p_parameter */ template UnitData m_unitDataCommand( in template(value) Link_ID p_sourceLinkID, in template(value) Link_ID p_destinationLinkID, in template(value) DataUnitData p_data, in template(value) UserPriority p_priority, in template(value) ParameterUnitData p_parameter ) := { sourceAddr := p_sourceLinkID, destAddr := p_destinationLinkID, data := p_data, priority := p_priority, parameter := p_parameter } // End of template m_unitDataCommand /** * @desc Send template * UnitData Command * @param p_scudId: ITS-SCU-ID value * @param p_medType: MedID value */ Loading Loading @@ -155,6 +179,23 @@ module LibItsAtsp_Templates { command_param := {RegCmd := p_regCmd} } // End of template m_miRegistrationCommandRequest /** * @desc Send template for MI-COMMAND.request containing UnitDataCmd command service primitive * @param p_linkID Link-ID of VCI / CI. * @param p_commandRef Unique cyclic reference number of command. * @param p_regCmd Registration command primitive */ template (value) MI_Command_request m_miUnitDataCmdCommandRequest( in template (value) Link_ID p_linkID, in template (value) CommandRef p_commandRef, in template (value) UnitData p_unitData ) := { linkID := p_linkID, commandRef := p_commandRef, ref := c_miCmdReqUnitData, command_param := {UnitData := p_unitData} } // End of template MI_Command_request m_miUnitDataCmdCommandRequest /** * @desc Generic send template for MI-COMMAND.confirm service primitive * @param p_linkID Link-ID of VCI / CI. Loading Loading @@ -479,6 +520,7 @@ module LibItsAtsp_Templates { template(value) UserPriority m_inUserPriorityAverage := 127; // End of template m_inUserPriorityAverage } // End of group ut_astpPortTools Loading Loading @@ -711,15 +753,6 @@ module LibItsAtsp_Templates { } } // End of template mw_miCIStatusErrors } // End of group cfPortTools group atspPort { Loading @@ -739,9 +772,12 @@ module LibItsAtsp_Templates { group utPort { } // End of group utPort group ut_astpPortTools { group ut_atspPortTools { /** * @desc Receive template Loading Loading @@ -823,6 +859,31 @@ module LibItsAtsp_Templates { accessParams := p_accessParameters }; // End of template m_inUnitDataInd /** * @desc IN-UNITDATA-STATUS.indication primitive * @param p_insap_source_address Source LinkId * @param p_insap_dest_address Destination LinkId * @param p_inData Data in octetstring format * @param p_priority User Priority * @param p_accessParameters Access Parameters * @see ISO 21218 - Clause 8.3.3 */ template (value) IN_UNITDATA_STATUS_indication mw_inUnitDataStatusInd( in template LLserviceAddr p_insapSourceAddress, in template LLserviceAddr p_insapDestAddress, in template INdata p_inData, in template UserPriority p_priority, in template AccessParameters p_accessParameters, in template INtxStatus p_txStatus ) := { source_addr := p_insapSourceAddress, dest_addr := p_insapDestAddress, data := p_inData, priority := p_priority, accessParams := p_accessParameters, txStatus := p_txStatus }; // End of template m_inUnitDataStatusInd /** * @desc Send template * IN-UNITDATA.request primitive Loading Loading @@ -877,7 +938,7 @@ module LibItsAtsp_Templates { localCIID := p_localLinkId }; // End of template m_linkID } // End of group ut_astpPortTools } // End of group ut_atspPortTools } // End of group recvOperation Loading ttcn/CALM/ATSP/LibItsAtsp_TypesAndValues.ttcn3 +1 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ module LibItsAtsp_TypesAndValues { const INtxStatus c_ciINtxStatus_Success := 0; const INtxStatus c_ciINtxStatus_QueueFull := 1; const INtxStatus c_ciINtxStatus_Timeout := 2; const INtxStatus c_ciINtxStatus_Priority := 3; const INtxStatus c_ciINtxStatus_unspecFailure := 255; } Loading Loading
ttcn/CALM/ATSP/LibItsAtsp_Pixits.ttcn3 +16 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,8 @@ module LibItsAtsp_Pixits { import from CALMllsap language "ASN.1:1997" { type all // EUI64, MedID, VCIserialNumber, IN_SAPaddress, I_ParamNo, I_Param, MedID type EUI64, MedID, VCIserialNumber, IN_SAPaddress, I_ParamNo, I_Param, MedID }; import from CALMmanagement language "ASN.1:1997" { Loading @@ -16,6 +16,11 @@ module LibItsAtsp_Pixits { ITS_scuId }; import from CALMmsap language "ASN.1:1997" { type DataUnitData, ParameterUnitData }; import from LibItsAtsp_TypesAndValues all; group Iparameter { Loading Loading @@ -73,6 +78,15 @@ module LibItsAtsp_Pixits { */ modulepar float PX_WAIT_FOR_IUT_READY := 1.0; /** * Data in UnitData */ modulepar DataUnitData PX_DATA_UNITDATA := 'ABCDEF'O; /** * Parameter in UnitData */ modulepar ParameterUnitData PX_PARAMETER_UNITDATA := '012345'O; /** * @desc Identifies RemoteLocalCIID group Loading
ttcn/CALM/ATSP/LibItsAtsp_Templates.ttcn3 +75 −14 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ module LibItsAtsp_Templates { UserPriority, LLserviceAddr, INdata, IN_SAPaddress, EUI64, Link_ID, AccessParameters, NullType, Errors NullType, Errors, INtxStatus }; import from CALMmsap language "ASN.1:1997" { Loading @@ -28,7 +28,8 @@ module LibItsAtsp_Templates { MI_Get_request, MI_Get_confirm, MI_Set_request, MI_Set_confirm, SimIUTcmd , CONcmd, VciCmd CONcmd, VciCmd, UnitData, DataUnitData, ParameterUnitData }; import from CALMmanagement language "ASN.1:1997" { Loading Loading @@ -127,6 +128,29 @@ module LibItsAtsp_Templates { /** * @desc Send template * Registration Command to confirm with * @param p_sourceLinkID * @param p_destinationLinkID * @param p_data * @param p_priority * @param p_parameter */ template UnitData m_unitDataCommand( in template(value) Link_ID p_sourceLinkID, in template(value) Link_ID p_destinationLinkID, in template(value) DataUnitData p_data, in template(value) UserPriority p_priority, in template(value) ParameterUnitData p_parameter ) := { sourceAddr := p_sourceLinkID, destAddr := p_destinationLinkID, data := p_data, priority := p_priority, parameter := p_parameter } // End of template m_unitDataCommand /** * @desc Send template * UnitData Command * @param p_scudId: ITS-SCU-ID value * @param p_medType: MedID value */ Loading Loading @@ -155,6 +179,23 @@ module LibItsAtsp_Templates { command_param := {RegCmd := p_regCmd} } // End of template m_miRegistrationCommandRequest /** * @desc Send template for MI-COMMAND.request containing UnitDataCmd command service primitive * @param p_linkID Link-ID of VCI / CI. * @param p_commandRef Unique cyclic reference number of command. * @param p_regCmd Registration command primitive */ template (value) MI_Command_request m_miUnitDataCmdCommandRequest( in template (value) Link_ID p_linkID, in template (value) CommandRef p_commandRef, in template (value) UnitData p_unitData ) := { linkID := p_linkID, commandRef := p_commandRef, ref := c_miCmdReqUnitData, command_param := {UnitData := p_unitData} } // End of template MI_Command_request m_miUnitDataCmdCommandRequest /** * @desc Generic send template for MI-COMMAND.confirm service primitive * @param p_linkID Link-ID of VCI / CI. Loading Loading @@ -479,6 +520,7 @@ module LibItsAtsp_Templates { template(value) UserPriority m_inUserPriorityAverage := 127; // End of template m_inUserPriorityAverage } // End of group ut_astpPortTools Loading Loading @@ -711,15 +753,6 @@ module LibItsAtsp_Templates { } } // End of template mw_miCIStatusErrors } // End of group cfPortTools group atspPort { Loading @@ -739,9 +772,12 @@ module LibItsAtsp_Templates { group utPort { } // End of group utPort group ut_astpPortTools { group ut_atspPortTools { /** * @desc Receive template Loading Loading @@ -823,6 +859,31 @@ module LibItsAtsp_Templates { accessParams := p_accessParameters }; // End of template m_inUnitDataInd /** * @desc IN-UNITDATA-STATUS.indication primitive * @param p_insap_source_address Source LinkId * @param p_insap_dest_address Destination LinkId * @param p_inData Data in octetstring format * @param p_priority User Priority * @param p_accessParameters Access Parameters * @see ISO 21218 - Clause 8.3.3 */ template (value) IN_UNITDATA_STATUS_indication mw_inUnitDataStatusInd( in template LLserviceAddr p_insapSourceAddress, in template LLserviceAddr p_insapDestAddress, in template INdata p_inData, in template UserPriority p_priority, in template AccessParameters p_accessParameters, in template INtxStatus p_txStatus ) := { source_addr := p_insapSourceAddress, dest_addr := p_insapDestAddress, data := p_inData, priority := p_priority, accessParams := p_accessParameters, txStatus := p_txStatus }; // End of template m_inUnitDataStatusInd /** * @desc Send template * IN-UNITDATA.request primitive Loading Loading @@ -877,7 +938,7 @@ module LibItsAtsp_Templates { localCIID := p_localLinkId }; // End of template m_linkID } // End of group ut_astpPortTools } // End of group ut_atspPortTools } // End of group recvOperation Loading
ttcn/CALM/ATSP/LibItsAtsp_TypesAndValues.ttcn3 +1 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,7 @@ module LibItsAtsp_TypesAndValues { const INtxStatus c_ciINtxStatus_Success := 0; const INtxStatus c_ciINtxStatus_QueueFull := 1; const INtxStatus c_ciINtxStatus_Timeout := 2; const INtxStatus c_ciINtxStatus_Priority := 3; const INtxStatus c_ciINtxStatus_unspecFailure := 255; } Loading