P1sec / pycrate

A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
GNU Lesser General Public License v2.1
381 stars 132 forks source link

Can pycrate decode SIB variables for WCDMA? #143

Closed aveer28 closed 2 years ago

aveer28 commented 3 years ago

Is it possible for Pycrate to decode the sib-data-variable as shown below (taken from QCSuper page)

image

p1-bmu commented 3 years ago

As you can read from the readme and wiki, pycrate has an ASN.1 compiler ad runtime, which supports the 3G RRC protocol: https://github.com/P1sec/pycrate/wiki/Using-the-pycrate-asn1-runtime#the-umts-and-lte-rrc-protocols

Regarding 3G SIBs, I think they are splitted into segments before being transmitted. Therefore, you may have to reconstruct each SIB from its segments before being able to decode it. You need to read 3GPP TS 25.331, section 8.1.1.1.3, for this.