mitshell
mitshell
No, this is not supported (yet). Things on the ASN.1 side changed quite a lot, compared to libmich. In particular, all objects compiled are kept in their module (e.g. in...
As a workaround, you can also strip an ASN.1 definition with only the definitions you need, and compile it into a Python file. You will then just need to load...
You are experiencing a limitation of the ASN.1 runtime (see https://github.com/ANSSI-FR/pycrate/wiki/Compiling-asn1-specifications#limitations, last bullet). Duplicating locally each ASN.1 structures when we want to encode or decode a value would be costly,...
Hi, Thanks for your message. M2UA/M3UA parameters are all in Tag-Length-Value format, if I remember well. They are all decoded as such: https://github.com/P1sec/pycrate/blob/e11b6bd541123a5c623fd629ef61f0b8d0b5a648/pycrate_mobile/SIGTRAN.py#L461 And tags value are associated with their...
Could you please, at least, do some efforts to make your issue readable ?
Please note a new repository has been setup, including new fixes. This repo will keep being maintained : https://github.com/pycrate-org/pycrate. For supporting E2AP, we need a freely available ASN.1 definition of...
E2AP support has been added in 0.7.2. See https://github.com/pycrate-org/pycrate
Did you install the required libs : https://github.com/mitshell/CC2531#usage ?
Hello, thank you for your submission. However, changing the type of data put in the _val attribute will certainly break any re-encoding of those values (see the docstrings of the...
Yes, this actually breaks the re-encoding when decoding is done with PER._DISPLAY_LABEL set to False. There is several possibilities to make is work properly: 1) the cleanest would be to...