diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2021-05-21 18:45:41 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2021-05-21 18:55:13 +0300 |
commit | 93e494dd3476133c81b019e96c277ddb71f6eb89 (patch) | |
tree | 3b02e947ae20538800de419452627e085795d551 /version | |
parent | e37ef41001d2f9de47efc66e4ea573b88aa972c6 (diff) | |
download | libmts-io-93e494dd3476133c81b019e96c277ddb71f6eb89.tar.gz libmts-io-93e494dd3476133c81b019e96c277ddb71f6eb89.tar.bz2 libmts-io-93e494dd3476133c81b019e96c277ddb71f6eb89.zip |
[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2
Refactored the `create-mcc-mnc-table.py` script to support generating
`MTS_IO_MccMncTable.cpp` from the website and (in the future) csv files.
The previous script contained a lot of logic related to generating the
MCC/MNC tables in C++ code:
1) printing constant data - functions, comments, etc;
2) formatting and printing the lines with MCC/MNC data;
3) converting MCC and MNC values to unique integers (hashes);
4) parsing the data from the website.
The updated implementation of the script have separated step 4 from all
the other steps which allows to extend the MCC/MNC building logic with
loading MCC/MNC values from a `csv` file in the future.
The behaviour of the script is NOT changed during refactoring. Both the
old and the new version of the script generate exactly the same code
when started on the same source data (website).
Diffstat (limited to 'version')
0 files changed, 0 insertions, 0 deletions