Hi, I have been using the scripts here: https://github.com/ANSSI-FR/pycrate/tree/master/pycrate_csn1dir/generator/ - extract.py: to extract csn.1 definitions from those 3GPP 44.018, 44.060 and 24.008 after converting them to txt files with microsoft word. I am not sure it would work well with ETSI specs in PDF converted to text. - gen.py: to convert csn.1 specs to Python files by batch. Beware some pathes are hardcoded, this may have to be adjusted in the header of those scripts.
Regards Benoit
2018-08-22 23:01 GMT+02:00 Sylvain Munaut 246tnt@gmail.com:
Hi,
I did not know GMR-1 was so close from GSM / GPRS at the RRC / NAS layer.
GMR-1 is heavily derived from GSM. Mostly just all the physical medium specific stuff had to be adapted.
I found those GMR-1 specs which seem the most recent, with CSN.1 structures definition:
Yes, and there are also some in
https://www.etsi.org/deliver/etsi_ts/101300_101399/1013760408/03.01.01_60/ts...
Unfortunately that doc has plenty of reference to the "previous" versions : https://www.etsi.org/deliver/etsi_ts/101300_101399/1013760408/02.03.01_60/ts... https://www.etsi.org/deliver/etsi_ts/101300_101399/1013760408/01.03.01_60/ts...
I may be able to process them and create corresponding directories in pycrate.
That would be really nice :)
Do you have some tool to automatically extract the definitions from the pdf ?
Cheers,
Sylvain