Beispiel #1
0
            public RRCConnectionReconfiguration_r8_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionReconfiguration_r8_IEs es = new RRCConnectionReconfiguration_r8_IEs();

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

                if (stream.Read())//measConfigPresent=True
                {
                    es.measConfig = MeasConfig.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())//mobilityControlInfoPresent=True
                {
                    es.mobilityControlInfo = MobilityControlInfo.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())//dedicatedInfoNASListPresent=True
                {
                    es.dedicatedInfoNASList = new List <string>();
                    const int num2 = 4;
                    int       num3 = input.ReadBits(num2) + 1;
                    for (int i = 0; i < num3; i++)
                    {
                        int    nBits = input.ReadBits(8);
                        string item  = input.readOctetString(nBits);
                        es.dedicatedInfoNASList.Add(item);
                    }
                }
                if (stream.Read())//radioResourceConfigDedicatedPresent=True
                {
                    es.radioResourceConfigDedicated = RadioResourceConfigDedicated.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())//securityConfigHOPresent=True
                {
                    es.securityConfigHO = SecurityConfigHO.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())//nonCriticalExtensionPresent=True
                {
                    es.nonCriticalExtension = RRCConnectionReconfiguration_v890_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
 public RRCConnectionReconfiguration_r8_IEs Decode(BitArrayInputStream input)
 {
     RRCConnectionReconfiguration_r8_IEs es = new RRCConnectionReconfiguration_r8_IEs();
     es.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 6);
     if (stream.Read())//measConfigPresent=True
     {
         es.measConfig = MeasConfig.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())//mobilityControlInfoPresent=True
     {
         es.mobilityControlInfo = MobilityControlInfo.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())//dedicatedInfoNASListPresent=True
     {
         es.dedicatedInfoNASList = new List<string>();
         const int num2 = 4;
         int num3 = input.readBits(num2) + 1;
         for (int i = 0; i < num3; i++)
         {
             int nBits = input.readBits(8);
             string item = input.readOctetString(nBits);
             es.dedicatedInfoNASList.Add(item);
         }
     }
     if (stream.Read())//radioResourceConfigDedicatedPresent=True
     {
         es.radioResourceConfigDedicated = RadioResourceConfigDedicated.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())//securityConfigHOPresent=True
     {
         es.securityConfigHO = SecurityConfigHO.PerDecoder.Instance.Decode(input);
     }
     if (stream.Read())//nonCriticalExtensionPresent=True
     {
         es.nonCriticalExtension = RRCConnectionReconfiguration_v890_IEs.PerDecoder.Instance.Decode(input);
     }
     return es;
 }