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
382 stars 132 forks source link

NGAP decoding #244

Closed adad1223 closed 1 year ago

adad1223 commented 1 year ago

I have raw data of Ngap message fields let it be b'\x00\x1a\x00A\x00\x00\x03\x00\n\x00\x02\x00\x01\x00U\x00\x02\x00\x00\x00@\x00.\x00@\x01\x13~\x02\x00\x00\x00\x00\x04~\x00h\x01\x00\x04.\x01\x01\xcb\x12\x01\x16\x00\x00\x01\x00\x8c\x00\x0f\x00\x0f\x80\x7f\x00\x00\x02\xf0\x00\x00\x00\x01\xf0\x7f\x00 How do I decode this message

p1-bmu commented 1 year ago

You can check the Wiki which provides the related information for similar protocols, e.g.: https://github.com/P1sec/pycrate/wiki/Using-the-pycrate-asn1-runtime#the-ranap-and-s1ap-ran-protocols

adad1223 commented 1 year ago

Thank You I got what I needed