pycrate
pycrate copied to clipboard
A Python library to ease the development of encoders and decoders for various protocols and file formats; contains ASN.1 and CSN.1 compilers.
Some IP address type elements in NGAP and NAS message is not easy to read, like PDUAddress and TransportLayerAddress, is it possible to show it in readable format like 192.168.1.1?...
Hi, I am integrating your solution to decode 3GPP protocols (RRC, NAS, NGAP). I just found out that when I decode a RRC message for example, if a container is...
Im trying to create sample messages for all of the RRC NR existing objects without having the binary format of the object. I checked the docs and the only way...
Hi I would like to know the best way to change the look of to_asn1 output for various objects. I tried to modify the code in pycrate_asn1/asnobj.py. Let us take...
I'm using Python version 3.8.10 and PyCrate version 0.5.3 this is my code.. from pycrate_mobile.TS29274_GTPC import * m = CreateSessionRequest() m[1].add_ie(78,0) ''' I added Information Element Type 78 means Protocol...
When decoding the following GSM SIB2: 59061A8BE7D683080000000000000000000000FF010000 I get the following ARFCNs (975 is the original ARFCN): 975, 1023, 1148 and 1152 The correct networks should be: 975, 124 ,128,...
I have written an editor using PyCrate and PySimpleGUI that works well for editing existing fields in an object. It uses get_val_paths() to go through a message and construct a...
Various `print()` exists throughout pycrate, that should be moved to a proper logging mechanism, in order to not eventually pollute stdout. All logging should be done with the `log()` function...
I'd like to contribute, but I've looked around and have failed to find some minimal set of instructions. What I'd like to know when constructing pull requests: What version of...