Ejemplo n.º 1
0
                public commonInfo_Type Decode(BitArrayInputStream input)
                {
                    commonInfo_Type type = new commonInfo_Type();

                    type.InitDefaults();
                    BitMaskStream stream = new BitMaskStream(input, 2);

                    if (stream.Read())
                    {
                        type.cellReselectionPriority = input.readBits(3);
                    }
                    type.ncc_Permitted = input.readBitString(8);
                    type.q_RxLevMin    = input.readBits(6);
                    if (stream.Read())
                    {
                        type.p_MaxGERAN = input.readBits(6);
                    }
                    type.threshX_High = input.readBits(5);
                    type.threshX_Low  = input.readBits(5);
                    return(type);
                }
Ejemplo n.º 2
0
            public UE_EUTRA_Capability_v1170_IEs Decode(BitArrayInputStream input)
            {
                UE_EUTRA_Capability_v1170_IEs es = new UE_EUTRA_Capability_v1170_IEs();

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

                if (stream.Read())
                {
                    es.phyLayerParameters_v1170 = PhyLayerParameters_v1170.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.ue_Category_v1170 = input.ReadBits(1) + 9;
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 3
0
            public LocationInfo_r10 Decode(BitArrayInputStream input)
            {
                int nBits;
                LocationInfo_r10 _r = new LocationInfo_r10();

                _r.InitDefaults();
                BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);

                _r.locationCoordinates_r10 = locationCoordinates_r10_Type.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    nBits = input.ReadBits(8);
                    _r.horizontalVelocity_r10 = input.readOctetString(nBits);
                }
                if (stream.Read())
                {
                    nBits = input.ReadBits(8);
                    _r.gnss_TOD_msec_r10 = input.readOctetString(nBits);
                }
                return(_r);
            }
Ejemplo n.º 4
0
            public PDCP_Parameters_v1130 Decode(BitArrayInputStream input)
            {
                int num2;
                PDCP_Parameters_v1130 _v = new PDCP_Parameters_v1130();

                _v.InitDefaults();
                bool          flag   = false;
                BitMaskStream stream = flag ? new BitMaskStream(input, 2) : new BitMaskStream(input, 2);

                if (stream.Read())
                {
                    num2 = 1;
                    _v.pdcp_SN_Extension_r11 = (pdcp_SN_Extension_r11_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _v.supportRohcContextContinue_r11 = (supportRohcContextContinue_r11_Enum)input.ReadBits(num2);
                }
                return(_v);
            }
Ejemplo n.º 5
0
            public UE_EUTRA_CapabilityAddXDD_Mode_v1130 Decode(BitArrayInputStream input)
            {
                UE_EUTRA_CapabilityAddXDD_Mode_v1130 _v = new UE_EUTRA_CapabilityAddXDD_Mode_v1130();

                _v.InitDefaults();
                BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 3) : new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    _v.phyLayerParameters_v1130 = PhyLayerParameters_v1130.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    _v.measParameters_v1130 = MeasParameters_v1130.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    _v.otherParameters_r11 = Other_Parameters_r11.PerDecoder.Instance.Decode(input);
                }
                return(_v);
            }
Ejemplo n.º 6
0
                public setup_Type Decode(BitArrayInputStream input)
                {
                    setup_Type type = new setup_Type();

                    type.InitDefaults();
                    BitMaskStream stream = new BitMaskStream(input, 1);

                    type.measSubframePatternNeigh_r10 = MeasSubframePattern_r10.PerDecoder.Instance.Decode(input);
                    if (stream.Read())
                    {
                        type.measSubframeCellList_r10 = new List <PhysCellIdRange>();
                        const int nBits = 5;
                        int       num3  = input.ReadBits(nBits) + 1;
                        for (int i = 0; i < num3; i++)
                        {
                            PhysCellIdRange item = PhysCellIdRange.PerDecoder.Instance.Decode(input);
                            type.measSubframeCellList_r10.Add(item);
                        }
                    }
                    return(type);
                }
            public RRCConnectionSetupComplete_r8_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionSetupComplete_r8_IEs es = new RRCConnectionSetupComplete_r8_IEs();

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

                es.selectedPLMN_Identity = input.readBits(3) + 1;
                if (stream.Read())
                {
                    es.registeredMME = RegisteredMME.PerDecoder.Instance.Decode(input);
                }
                int nBits = input.readBits(8);

                es.dedicatedInfoNAS = input.readOctetString(nBits);
                if (stream.Read())
                {
                    es.nonCriticalExtension = RRCConnectionSetupComplete_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 8
0
            public RRCConnectionRelease_v9e0_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionRelease_v9e0_IEs es = new RRCConnectionRelease_v9e0_IEs();

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

                if (stream.Read())
                {
                    es.redirectedCarrierInfo_v9e0 = RedirectedCarrierInfo_v9e0.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.idleModeMobilityControlInfo_v9e0 = IdleModeMobilityControlInfo_v9e0.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 9
0
                public parameters1XRTT_Type Decode(BitArrayInputStream input)
                {
                    var type = new parameters1XRTT_Type();

                    type.InitDefaults();
                    var stream = new BitMaskStream(input, 3);

                    if (stream.Read())
                    {
                        type.csfb_RegistrationParam1XRTT = CSFB_RegistrationParam1XRTT.PerDecoder.Instance.Decode(input);
                    }
                    if (stream.Read())
                    {
                        type.longCodeState1XRTT = input.ReadBitString(0x2a);
                    }
                    if (stream.Read())
                    {
                        type.cellReselectionParameters1XRTT = CellReselectionParametersCDMA2000.PerDecoder.Instance.Decode(input);
                    }
                    return(type);
                }
Ejemplo n.º 10
0
            public UplinkPowerControlDedicated_v1130 Decode(BitArrayInputStream input)
            {
                UplinkPowerControlDedicated_v1130 _v = new UplinkPowerControlDedicated_v1130();

                _v.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    _v.pSRS_Offset_v1130 = input.readBits(4) + 0x10;
                }
                if (stream.Read())
                {
                    _v.pSRS_OffsetAp_v1130 = input.readBits(4) + 0x10;
                }
                if (stream.Read())
                {
                    _v.deltaTxD_OffsetListPUCCH_v1130 = DeltaTxD_OffsetListPUCCH_v1130.PerDecoder.Instance.Decode(input);
                }
                return(_v);
            }
            public SystemInformationBlockType1_v1130_IEs Decode(BitArrayInputStream input)
            {
                var es = new SystemInformationBlockType1_v1130_IEs();

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

                if (stream.Read())
                {
                    es.tdd_Config_v1130 = TDD_Config_v1130.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.cellSelectionInfo_v1130 = CellSelectionInfo_v1130.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 12
0
            public SPS_Config Decode(BitArrayInputStream input)
            {
                SPS_Config config = new SPS_Config();

                config.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 3);

                if (stream.Read())
                {
                    config.semiPersistSchedC_RNTI = input.ReadBitString(0x10);
                }
                if (stream.Read())
                {
                    config.sps_ConfigDL = SPS_ConfigDL.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    config.sps_ConfigUL = SPS_ConfigUL.PerDecoder.Instance.Decode(input);
                }
                return(config);
            }
Ejemplo n.º 13
0
            public UEInformationResponse_r9_IEs Decode(BitArrayInputStream input)
            {
                UEInformationResponse_r9_IEs es = new UEInformationResponse_r9_IEs();

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

                if (stream.Read())
                {
                    es.rach_Report_r9 = rach_Report_r9_Type.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.rlf_Report_r9 = RLF_Report_r9.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = UEInformationResponse_v930_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 14
0
            public UplinkPowerControlDedicated Decode(BitArrayInputStream input)
            {
                UplinkPowerControlDedicated dedicated = new UplinkPowerControlDedicated();

                dedicated.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 1);

                dedicated.p0_UE_PUSCH = input.readBits(4) + -8;
                int nBits = 1;

                dedicated.deltaMCS_Enabled    = (deltaMCS_Enabled_Enum)input.readBits(nBits);
                dedicated.accumulationEnabled = input.readBit() == 1;
                dedicated.p0_UE_PUCCH         = input.readBits(4) + -8;
                dedicated.pSRS_Offset         = input.readBits(4);
                if (stream.Read())
                {
                    nBits = (input.readBit() == 0) ? 4 : 4;
                    dedicated.filterCoefficient = (FilterCoefficient)input.readBits(nBits);
                }
                return(dedicated);
            }
Ejemplo n.º 15
0
            public IRAT_ParametersUTRA_v9c0 Decode(BitArrayInputStream input)
            {
                int num2;
                IRAT_ParametersUTRA_v9c0 _vc = new IRAT_ParametersUTRA_v9c0();

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

                if (stream.Read())
                {
                    num2 = 1;
                    _vc.voiceOverPS_HS_UTRA_FDD_r9 = (voiceOverPS_HS_UTRA_FDD_r9_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _vc.voiceOverPS_HS_UTRA_TDD128_r9 = (voiceOverPS_HS_UTRA_TDD128_r9_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _vc.srvcc_FromUTRA_FDD_ToUTRA_FDD_r9 = (srvcc_FromUTRA_FDD_ToUTRA_FDD_r9_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _vc.srvcc_FromUTRA_FDD_ToGERAN_r9 = (srvcc_FromUTRA_FDD_ToGERAN_r9_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _vc.srvcc_FromUTRA_TDD128_ToUTRA_TDD128_r9 = (srvcc_FromUTRA_TDD128_ToUTRA_TDD128_r9_Enum)input.ReadBits(num2);
                }
                if (stream.Read())
                {
                    num2 = 1;
                    _vc.srvcc_FromUTRA_TDD128_ToGERAN_r9 = (srvcc_FromUTRA_TDD128_ToGERAN_r9_Enum)input.ReadBits(num2);
                }
                return(_vc);
            }
Ejemplo n.º 16
0
                    public setup_Type Decode(BitArrayInputStream input)
                    {
                        int        num2;
                        setup_Type type = new setup_Type();

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

                        if (stream.Read())
                        {
                            type.subframePatternConfig_r11 = subframePatternConfig_r11_Type.PerDecoder.Instance.Decode(input);
                        }
                        if (stream.Read())
                        {
                            type.startSymbol_r11 = input.ReadBits(2) + 1;
                        }
                        if (stream.Read())
                        {
                            type.setConfigToReleaseList_r11 = new List <long>();
                            num2 = 1;
                            int num3 = input.ReadBits(num2) + 1;
                            for (int i = 0; i < num3; i++)
                            {
                                long item = input.ReadBits(1);
                                type.setConfigToReleaseList_r11.Add(item);
                            }
                        }
                        if (stream.Read())
                        {
                            type.setConfigToAddModList_r11 = new List <EPDCCH_SetConfig_r11>();
                            num2 = 1;
                            int num6 = input.ReadBits(num2) + 1;
                            for (int j = 0; j < num6; j++)
                            {
                                EPDCCH_SetConfig_r11 _r = EPDCCH_SetConfig_r11.PerDecoder.Instance.Decode(input);
                                type.setConfigToAddModList_r11.Add(_r);
                            }
                        }
                        return(type);
                    }
Ejemplo n.º 17
0
            protected override void ProcessConfig(AS_Config config, BitArrayInputStream input)
            {
                var flag = input.ReadBit() != 0;

                config.sourceMeasConfig                  = MeasConfig.PerDecoder.Instance.Decode(input);
                config.sourceRadioResourceConfig         = RadioResourceConfigDedicated.PerDecoder.Instance.Decode(input);
                config.sourceSecurityAlgorithmConfig     = SecurityAlgorithmConfig.PerDecoder.Instance.Decode(input);
                config.sourceUE_Identity                 = input.ReadBitString(0x10);
                config.sourceMasterInformationBlock      = MasterInformationBlock.PerDecoder.Instance.Decode(input);
                config.sourceSystemInformationBlockType1 = SystemInformationBlockType1.PerDecoder.Instance.Decode(input);
                config.sourceSystemInformationBlockType2 = SystemInformationBlockType2.PerDecoder.Instance.Decode(input);
                config.antennaInfoCommon                 = AntennaInfoCommon.PerDecoder.Instance.Decode(input);
                config.sourceDl_CarrierFreq              = input.ReadBits(0x10);
                if (!flag)
                {
                    return;
                }
                var stream = new BitMaskStream(input, 1);

                if (stream.Read())
                {
                    var nBits = input.ReadBits(8);
                    config.sourceSystemInformationBlockType1Ext = input.readOctetString(nBits);
                }
                config.sourceOtherConfig_r9 = OtherConfig_r9.PerDecoder.Instance.Decode(input);

                stream = new BitMaskStream(input, 1);
                if (!stream.Read())
                {
                    return;
                }
                config.sourceSCellConfigList_r10 = new List <SCellToAddMod_r10>();
                var num3 = input.ReadBits(2) + 1;

                for (var i = 0; i < num3; i++)
                {
                    var item = SCellToAddMod_r10.PerDecoder.Instance.Decode(input);
                    config.sourceSCellConfigList_r10.Add(item);
                }
            }
Ejemplo n.º 18
0
            public SystemInformation_r8_IEs Decode(BitArrayInputStream input)
            {
                var es = new SystemInformation_r8_IEs();

                InitDefaults();
                var stream = new BitMaskStream(input, 1);

                es.sib_TypeAndInfo = new List <sib_TypeAndInfo_Element>();
                const int nBits = 5;
                var       num3  = input.ReadBits(nBits) + 1;

                for (var i = 0; i < num3; i++)
                {
                    var item = sib_TypeAndInfo_Element.PerDecoder.Instance.Decode(input);
                    es.sib_TypeAndInfo.Add(item);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = SystemInformation_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 19
0
            public CSG_IdList_Item Decode(BitArrayInputStream input)
            {
                CSG_IdList_Item item = new CSG_IdList_Item();

                item.InitDefaults();
                BitMaskStream stream = (input.ReadBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);

                item.cSG_Id = input.ReadBitString(0x1b);
                if (stream.Read())
                {
                    input.skipUnreadedBits();
                    item.iE_Extensions = new List <ProtocolExtensionField>();
                    int nBits = 0x10;
                    int num5  = input.ReadBits(nBits) + 1;
                    for (int i = 0; i < num5; i++)
                    {
                        ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input);
                        item.iE_Extensions.Add(field);
                    }
                }
                return(item);
            }
Ejemplo n.º 20
0
            public ULHandoverPreparationTransfer_r8_IEs Decode(BitArrayInputStream input)
            {
                ULHandoverPreparationTransfer_r8_IEs es = new ULHandoverPreparationTransfer_r8_IEs();

                es.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);
                const int     num2   = 1;

                es.cdma2000_Type = (CDMA2000_Type)input.ReadBits(num2);
                if (stream.Read())
                {
                    es.meid = input.ReadBitString(0x38);
                }
                int nBits = input.ReadBits(8);

                es.dedicatedInfo = input.readOctetString(nBits);
                if (stream.Read())
                {
                    es.nonCriticalExtension = ULHandoverPreparationTransfer_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 21
0
            protected override void ProcessConfig(CQI_ReportBoth_r11 config, BitArrayInputStream input)
            {
                var stream = new BitMaskStream(input, 4);

                if (stream.Read())
                {
                    config.csi_IM_ConfigToReleaseList_r11 = new List <long>();
                    for (var i = 0; i < input.ReadBits(2) + 1; i++)
                    {
                        long item = input.ReadBits(2) + 1;
                        config.csi_IM_ConfigToReleaseList_r11.Add(item);
                    }
                }
                if (stream.Read())
                {
                    config.csi_IM_ConfigToAddModList_r11 = new List <CSI_IM_Config_r11>();
                    for (var j = 0; j < input.ReadBits(1) + 1; j++)
                    {
                        config.csi_IM_ConfigToAddModList_r11.Add(CSI_IM_Config_r11.PerDecoder.Instance.Decode(input));
                    }
                }
                if (stream.Read())
                {
                    config.csi_ProcessToReleaseList_r11 = new List <long>();
                    for (var k = 0; k < input.ReadBits(2) + 1; k++)
                    {
                        config.csi_ProcessToReleaseList_r11.Add(input.ReadBits(2) + 1);
                    }
                }
                if (stream.Read())
                {
                    config.csi_ProcessToAddModList_r11 = new List <CSI_Process_r11>();
                    var num11 = input.ReadBits(2) + 1;
                    for (var m = 0; m < num11; m++)
                    {
                        config.csi_ProcessToAddModList_r11.Add(CSI_Process_r11.PerDecoder.Instance.Decode(input));
                    }
                }
            }
Ejemplo n.º 22
0
            public ServedCellsToActivate_Item Decode(BitArrayInputStream input)
            {
                ServedCellsToActivate_Item item = new ServedCellsToActivate_Item();

                item.InitDefaults();
                BitMaskStream stream = (input.readBit() != 0) ? new BitMaskStream(input, 1) : new BitMaskStream(input, 1);

                item.ecgi = ECGI.PerDecoder.Instance.Decode(input);
                if (stream.Read())
                {
                    input.skipUnreadedBits();
                    item.iE_Extensions = new List <ProtocolExtensionField>();
                    int nBits = 0x10;
                    int num5  = input.readBits(nBits) + 1;
                    for (int i = 0; i < num5; i++)
                    {
                        ProtocolExtensionField field = ProtocolExtensionField.PerDecoder.Instance.Decode(input);
                        item.iE_Extensions.Add(field);
                    }
                }
                return(item);
            }
Ejemplo n.º 23
0
            protected override void ProcessConfig(Global_ENB_ID config, BitArrayInputStream input)
            {
                input.ReadBit();
                var stream = new BitMaskStream(input, 1);

                input.skipUnreadedBits();
                config.pLMNidentity = input.readOctetString(3);
                config.eNB_ID       = ENB_ID.PerDecoder.Instance.Decode(input);
                if (!stream.Read())
                {
                    return;
                }
                input.skipUnreadedBits();
                config.iE_Extensions = new List <ProtocolExtensionField>();
                var num5 = input.ReadBits(0x10) + 1;

                for (var i = 0; i < num5; i++)
                {
                    var item = ProtocolExtensionField.PerDecoder.Instance.Decode(input);
                    config.iE_Extensions.Add(item);
                }
            }
Ejemplo n.º 24
0
            public RadioResourceConfigDedicatedSCell_r10 Decode(BitArrayInputStream input)
            {
                RadioResourceConfigDedicatedSCell_r10 _r = new RadioResourceConfigDedicatedSCell_r10();

                _r.InitDefaults();
                bool          flag   = input.readBit() != 0;
                BitMaskStream stream = new BitMaskStream(input, 1);

                if (stream.Read())
                {
                    _r.physicalConfigDedicatedSCell_r10 = PhysicalConfigDedicatedSCell_r10.PerDecoder.Instance.Decode(input);
                }
                if (flag)
                {
                    BitMaskStream stream2 = new BitMaskStream(input, 1);
                    if (stream2.Read())
                    {
                        _r.mac_MainConfigSCell_r11 = MAC_MainConfigSCell_r11.PerDecoder.Instance.Decode(input);
                    }
                }
                return(_r);
            }
Ejemplo n.º 25
0
            public Handover Decode(BitArrayInputStream input)
            {
                Handover handover = new Handover();

                handover.InitDefaults();
                BitMaskStream stream = new BitMaskStream(input, 2);
                int           num2   = (input.ReadBit() == 0) ? 3 : 3;

                handover.targetRAT_Type = (targetRAT_Type_Enum)input.ReadBits(num2);
                int nBits = input.ReadBits(8);

                handover.targetRAT_MessageContainer = input.readOctetString(nBits);
                if (stream.Read())
                {
                    handover.nas_SecurityParamFromEUTRA = input.readOctetString(1);
                }
                if (stream.Read())
                {
                    handover.systemInformation = SI_OrPSI_GERAN.PerDecoder.Instance.Decode(input);
                }
                return(handover);
            }
Ejemplo n.º 26
0
            public RRCConnectionReconfiguration_v920_IEs Decode(BitArrayInputStream input)
            {
                RRCConnectionReconfiguration_v920_IEs es = new RRCConnectionReconfiguration_v920_IEs();

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

                if (stream.Read())
                {
                    es.otherConfig_r9 = OtherConfig_r9.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    const int nBits = 1;
                    es.fullConfig_r9 = (fullConfig_r9_Enum)input.ReadBits(nBits);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = RRCConnectionReconfiguration_v1020_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 27
0
            public CounterCheckResponse_r8_IEs Decode(BitArrayInputStream input)
            {
                CounterCheckResponse_r8_IEs es = new CounterCheckResponse_r8_IEs();

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

                es.drb_CountInfoList = new List <DRB_CountInfo>();
                const int nBits = 4;
                int       num3  = input.readBits(nBits);

                for (int i = 0; i < num3; i++)
                {
                    DRB_CountInfo item = DRB_CountInfo.PerDecoder.Instance.Decode(input);
                    es.drb_CountInfoList.Add(item);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = CounterCheckResponse_v8a0_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
            public SystemInformationBlockType1_v920_IEs Decode(BitArrayInputStream input)
            {
                var es = new SystemInformationBlockType1_v920_IEs();

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

                if (stream.Read())
                {
                    const int nBits = 1;
                    es.ims_EmergencySupport_r9 = (ims_EmergencySupport_r9_Enum)input.ReadBits(nBits);
                }
                if (stream.Read())
                {
                    es.cellSelectionInfo_v920 = CellSelectionInfo_v920.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = SystemInformationBlockType1_v1130_IEs.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 29
0
            public HandoverFromEUTRAPreparationRequest_v1020_IEs Decode(BitArrayInputStream input)
            {
                HandoverFromEUTRAPreparationRequest_v1020_IEs es = new HandoverFromEUTRAPreparationRequest_v1020_IEs();

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

                if (stream.Read())
                {
                    int nBits = 1;
                    es.dualRxTxRedirectIndicator_r10 = (dualRxTxRedirectIndicator_r10_Enum)input.ReadBits(nBits);
                }
                if (stream.Read())
                {
                    es.redirectCarrierCDMA2000_1XRTT_r10 = CarrierFreqCDMA2000.PerDecoder.Instance.Decode(input);
                }
                if (stream.Read())
                {
                    es.nonCriticalExtension = nonCriticalExtension_Type.PerDecoder.Instance.Decode(input);
                }
                return(es);
            }
Ejemplo n.º 30
0
                public timeInfo_r11_Type Decode(BitArrayInputStream input)
                {
                    var type = new timeInfo_r11_Type();

                    type.InitDefaults();
                    var stream = new BitMaskStream(input, 3);

                    type.timeInfoUTC_r11 = input.ReadBits(40);
                    if (stream.Read())
                    {
                        type.dayLightSavingTime_r11 = input.ReadBitString(2);
                    }
                    if (stream.Read())
                    {
                        type.leapSeconds_r11 = input.ReadBits(8) + -127;
                    }
                    if (stream.Read())
                    {
                        type.localTimeOffset_r11 = input.ReadBits(7) + -63;
                    }
                    return(type);
                }