Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 2.2 KB

README.md

File metadata and controls

31 lines (23 loc) · 2.2 KB

CircleCI Codacy Badge Total alerts Language grade: Python

LTE Transport Block Size Table Generator

This script parses a transport block size Table 7.1.7.2.1-1 from 3GPP TS 36.213.

Generator Input Format

Script accepts as input a text copied directly from a PDF version of 3GPP TS 36.213, just from the begging of the Table 7.1.7.2.1-1 to the end of the table. Sample text file is located in samples folder. The script writes output to in JSON format to generated folder.

Check Correctness

The script compare.py can be used to check correctness of a table stored in a json format. An example is located in samples.

Usage

In order to generate reference JSON file for the TBS table:

python3 generate_ref.py -f samples/ts_136213v121300p.txt

Generated JSON file will be located in generated/.

In order to compare another file with a reference:

python3 compare.py -f generated/ts_136213v121300p.json -c samples/cpp_tbs.json

This will generated an html report in generated/report.html showing in which rows which columns are different.

Copyright

Except for the content of the samples/ folder the code is licensed under the MIT License.