Esempio n. 1
0
        public static string GetOutputs(this SPS_Config config)
        {
            string result = "Downlink config:" + config.sps_ConfigDL.GetOutputs();

            result += ", Uplink config:" + config.sps_ConfigUL.GetOutputs();
            return(result);
        }
Esempio n. 2
0
        public void Test_SpsConfig(string source, string description)
        {
            BitArrayInputStream stream = source.GetInputStream();

            Assert.AreEqual(stream.ReadBits(3), 3);
            RRCConnectionSetup signal = RRCConnectionSetup.PerDecoder.Instance.Decode(stream);

            Assert.AreEqual(signal.rrc_TransactionIdentifier, 1);
            SPS_Config config =
                signal.criticalExtensions.c1.rrcConnectionSetup_r8.radioResourceConfigDedicated.sps_Config;

            Assert.AreEqual(config.GetOutputs(), description);
        }