After many hunts, I found out what ASN.1 files are.
These ASN.1 files essentially contain a protocol description and a package description. Using these ASN.1 files, you can generate .c and .h files that will be used in some applications for which you want to use them. This is really convenient because you do not need to create your own message database. You just need to compile the ASN.1 files and the C files will be compiled for your use.
Now you should be wondering how can I compile this? Well, you usually need some kind of ASN.1 compiler. You have to pay for some, but I was able to find an open source source that works with Linux and Windows. It is likely that it can work on MAC as well, since it is based on UNIX, if you have the necessary dependencies. In any case, there is a link to this web page. I will not explain how to use it, because I think this web page does a great job of documenting usage. Hope this helps someone as much as me.
Check out the compiler here http://lionet.info/asn1c/blog/
If this link doesnβt work for you, you may have to try a commercial one, such as the OSS compiler Nocklava ASN1.C, or if the money bothers, then it may be advisable to create your own database, despite the fact that it will take time.
All the best.
Edwin
source share