Commit feee46a5 authored by garciay's avatar garciay
Browse files

Re-organize IICP port

parent b86258f4
Loading
Loading
Loading
Loading
+25 −14
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@ module LibItsCalm_Interface {
    };
    
    // LibIts - IP Protocols
//    import from LibItsExternal_TypesAndValues all;
    //  LibIts - Non IP Protocols

    // LibItsCalm
    import from CALMiitsscu language "ASN.1:1997" { 
        type 
            IIC_Request, IIC_Response, 
@@ -164,7 +164,7 @@ module LibItsCalm_Interface {
                type port IicpPort message {
                    inout
                        IicpReq,
                        IicpResp;
                        IicpInd;
                } // End of port IicpPort
                
            } // End of group mgt1Ports
@@ -250,25 +250,37 @@ module LibItsCalm_Interface {
            group mgt1Primitives {
                
                /**
                 * @desc MGT1 IISC Indication Primitive 
                 * @desc MGT1 IISC Request Primitive 
                 */
                type record IicpResp {
                    IIC_Response msgInOut
                type record IicpReq {
                    IIC_Request msgOut 
                }
                with { 
                    encode (msgInOut) "LibItsIicp_asn1"
                    encode (msgOut) "LibItsIicp_asn1"
                    encode "LibIts_Interface"
                }
                
                /**
                 * @desc MGT1 IISC Request Primitive 
                 * @desc TODO
                 */
                type record IicpReq {
                    IIC_Request msgInOut/*,
                    Time48IAT   receptionTime */
                type union IicpMsg {
                    IIC_Request     msgIn_req,
                    IIC_Response    msgIn_resp 
                } with { 
                    encode (msgIn_req) "LibItsIicp_asn1";
                    encode (msgIn_resp) "LibItsIicp_asn1";
                    encode "LibIts_Interface"
                }                
                
                /**
                 * @desc MGT1 IISC Request/Indication Primitive 
                 */
                type record IicpInd {
                    IicpMsg msgIn, 
                    Time48IAT  receptionTime   
                }
                with { 
                    encode (msgInOut) "LibItsIicp_asn1"
                    encode (msgIn) "LibItsIicp_asn1"
                    encode "LibIts_Interface"
                }
                
@@ -383,8 +395,7 @@ module LibItsCalm_Interface {
         */
        type union UtInitialize {
            UtFntpInitialize utFntpInitialize,
            UtFsapInitialize utFsapInitialize,
            UtIicpInitialize utIicpInitialize
            UtFsapInitialize utFsapInitialize 
        } with {
            encode "LibItsCommon_TypesAndValues"
        }