Net Neutrality

The basic principle that prohibits internet service providers from favoring, slowing access, or blocking particular services or sites. The idea behind net neutrality supports equal access to all content and applications, regardless of the source, for an open internet.

Share tech news, updates, or what's on your mind.

Sign up to Post

With great difficulty, I'm trying to implement a parser for reading sib codes and analyzing cells tower. I convert a particular ASN.1 EUTRA_RRC_Definitions structure in a C# DLL. In theory I can decode the code and get a file XML structured. I searched everywhere online for examples, but I found nothing.

This is my code that I'm trying to get it works:


public static byte[] StringToByteArray(string hex)
    {
        return Enumerable.Range(0, hex.Length)
                         .Where(x => x % 2 == 0)
                         .Select(x => Convert.ToByte(hex.Substring(x, 2), 16))
                         .ToArray();
    }

    static void Main(string[] args)
    {

        BCCH_BCH_Message sib = new BCCH_BCH_Message();
        sib.Init();
        const string V = "694c4224198860c1312a984c031807c06e493ab212103108b4890000";
        var buffer = StringToByteArray(V);
        sib.Decode(new Com.Objsys.Asn1.Runtime.Asn1OerDecodeBuffer(buffer));
    }
}

Open in new window



And this is the exception I get: Com.Objsys.Asn1.Runtime.Asn1Exception: 'base class decode method invoked';
I hope someone had already faced with this issue.
0
Amazon Web Services
LVL 12
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Net Neutrality

The basic principle that prohibits internet service providers from favoring, slowing access, or blocking particular services or sites. The idea behind net neutrality supports equal access to all content and applications, regardless of the source, for an open internet.

Top Experts In
Net Neutrality
<
Monthly
>