Exemplo n.º 1
0
            public UE_EUTRA_Capability_v920_IEs Decode(BitArrayInputStream input)
            {
                UE_EUTRA_Capability_v920_IEs es = new UE_EUTRA_Capability_v920_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 4);

                es.phyLayerParameters_v920       = PhyLayerParameters_v920.PerDecoder.Instance.Decode(input);
                es.interRAT_ParametersGERAN_v920 = IRAT_ParametersGERAN_v920.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    es.interRAT_ParametersUTRA_v920 = IRAT_ParametersUTRA_v920.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.interRAT_ParametersCDMA2000_v920 = IRAT_ParametersCDMA2000_1XRTT_v920.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    int nBits = 1;
                    es.deviceType_r9 = (deviceType_r9_Enum)input.ReadBits(nBits);
                }
                es.csg_ProximityIndicationParameters_r9 = CSG_ProximityIndicationParameters_r9.PerDecoder.Instance.Decode(input);
                es.neighCellSI_AcquisitionParameters_r9 = NeighCellSI_AcquisitionParameters_r9.PerDecoder.Instance.Decode(input);
                es.son_Parameters_r9 = SON_Parameters_r9.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    es.nonCriticalExtension = UE_EUTRA_Capability_v940_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Exemplo n.º 2
0
 public UE_EUTRA_Capability_v920_IEs Decode(BitArrayInputStream input)
 {
     UE_EUTRA_Capability_v920_IEs es = new UE_EUTRA_Capability_v920_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 4);
     es.phyLayerParameters_v920 = PhyLayerParameters_v920.PerDecoder.Instance.Decode(input);
     es.interRAT_ParametersGERAN_v920 = IRAT_ParametersGERAN_v920.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         es.interRAT_ParametersUTRA_v920 = IRAT_ParametersUTRA_v920.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         es.interRAT_ParametersCDMA2000_v920 = IRAT_ParametersCDMA2000_1XRTT_v920.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())
     {
         int nBits = 1;
         es.deviceType_r9 = (deviceType_r9_Enum)input.readBits(nBits);
     }
     es.csg_ProximityIndicationParameters_r9 = CSG_ProximityIndicationParameters_r9.PerDecoder.Instance.Decode(input);
     es.neighCellSI_AcquisitionParameters_r9 = NeighCellSI_AcquisitionParameters_r9.PerDecoder.Instance.Decode(input);
     es.son_Parameters_r9 = SON_Parameters_r9.PerDecoder.Instance.Decode(input);
     if (stream.Read())
     {
         es.nonCriticalExtension = UE_EUTRA_Capability_v940_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }