<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libmts-io.git/scripts, branch master</title>
<subtitle>MultiTech IO C++ Library</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/'/>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-24T19:28:35+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-24T19:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=d3766835ac77eb2f7eb4530e9aa4cc0d437f27e5'/>
<id>d3766835ac77eb2f7eb4530e9aa4cc0d437f27e5</id>
<content type='text'>
Added the 'Carrier Code' field to the MCC/MNC table. The new field is
supposed to be a constant Multitech-specific indentifier that is constant
between the firmware versions and does not necessarily depends on a
carrier name.

In particular the new field is needed to detect when there is an AT&amp;T
SIM card inserted and 'UE mode of operation' shall be set to CS/PS mode 2.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added the 'Carrier Code' field to the MCC/MNC table. The new field is
supposed to be a constant Multitech-specific indentifier that is constant
between the firmware versions and does not necessarily depends on a
carrier name.

In particular the new field is needed to detect when there is an AT&amp;T
SIM card inserted and 'UE mode of operation' shall be set to CS/PS mode 2.
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-24T14:27:45+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-24T09:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=fa849130585bd56b94528bcc043c4bf05d3d2f40'/>
<id>fa849130585bd56b94528bcc043c4bf05d3d2f40</id>
<content type='text'>
Restored the original table of MCC/MNC values that was used to populate
the `MTS_IO_MccMncTable.cpp` file.

This step is required to extend the format of MCC/MNC table with
additional fields and re-generate the file based on new data instead of
changing all the lines by hand.

Also added a script that restores the MCC/MNC table from a CPP file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restored the original table of MCC/MNC values that was used to populate
the `MTS_IO_MccMncTable.cpp` file.

This step is required to extend the format of MCC/MNC table with
additional fields and re-generate the file based on new data instead of
changing all the lines by hand.

Also added a script that restores the MCC/MNC table from a CPP file.
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-24T14:26:55+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-24T08:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=adc19a08871964a23a27a20c384439776a52891f'/>
<id>adc19a08871964a23a27a20c384439776a52891f</id>
<content type='text'>
Extended `create-mcc-mnc-table.py` to support writing the resulting
CPP code directly to the target file:

- refactoring: renamed `print_cpp_mcc_mnc_table` to `print_cpp_mcc_mnc_create_table`
  to better represent its purpose - printing the body of `MccMncTable::createTable()`;
- refactoring: grouped all the `print_cpp_*` functions to the single `print_cpp` function;
- new feature: printing the code directly to the target file without using stdout;
  printing to stdout is used by default for compatibility reasons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extended `create-mcc-mnc-table.py` to support writing the resulting
CPP code directly to the target file:

- refactoring: renamed `print_cpp_mcc_mnc_table` to `print_cpp_mcc_mnc_create_table`
  to better represent its purpose - printing the body of `MccMncTable::createTable()`;
- refactoring: grouped all the `print_cpp_*` functions to the single `print_cpp` function;
- new feature: printing the code directly to the target file without using stdout;
  printing to stdout is used by default for compatibility reasons.
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-24T14:26:55+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-24T07:55:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=f0931133aa7960d56767578ed5d8c24f66920a60'/>
<id>f0931133aa7960d56767578ed5d8c24f66920a60</id>
<content type='text'>
Extended `create-mcc-mnc-table.py` for CSV support:

- refactoring: renamed the 'network' variable to 'carrier' as it's
  named 'carrier' in the CPP code;
- new feature: added support of command-line arguments to select
  the source between the website and CSV; the website is used by
  default for compatibility reasons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extended `create-mcc-mnc-table.py` for CSV support:

- refactoring: renamed the 'network' variable to 'carrier' as it's
  named 'carrier' in the CPP code;
- new feature: added support of command-line arguments to select
  the source between the website and CSV; the website is used by
  default for compatibility reasons.
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-21T15:55:13+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-21T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=93e494dd3476133c81b019e96c277ddb71f6eb89'/>
<id>93e494dd3476133c81b019e96c277ddb71f6eb89</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-21T09:45:29+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-21T09:42:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=e37ef41001d2f9de47efc66e4ea573b88aa972c6'/>
<id>e37ef41001d2f9de47efc66e4ea573b88aa972c6</id>
<content type='text'>
Ported the "generate_mcc_mnc_cpp.py" script to Python 3.

Python 2 is not supported anymore and is not included to the modern
distributions of Linux. The transformation is made mainly by `2to3`
without refactoring and with only minimal changes required to support
Python 3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ported the "generate_mcc_mnc_cpp.py" script to Python 3.

Python 2 is not supported anymore and is not included to the modern
distributions of Linux. The transformation is made mainly by `2to3`
without refactoring and with only minimal changes required to support
Python 3.
</pre>
</div>
</content>
</entry>
<entry>
<title>[GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2</title>
<updated>2021-05-18T15:12:52+00:00</updated>
<author>
<name>Serhii Kostiuk</name>
<email>serhii.o.kostiuk@globallogic.com</email>
</author>
<published>2021-05-18T14:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=d562fa43d6f61c0a6ad4fb79e91c90cf571884f3'/>
<id>d562fa43d6f61c0a6ad4fb79e91c90cf571884f3</id>
<content type='text'>
Fixed carrier MCC/MNC table lookup for networks with two-digit conuntry codes.

The original MCC/MNC population script used the following encoding for MCC/MNC values:

- MCC - interpret the original value as hex;
- 2-digit MNC - append "f" and interpret the resulting value as hex;
- 3-digit MNC - interpret the original value as hex.

So during lookup the system shall also use this conversion logic before querying
the information from the table.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed carrier MCC/MNC table lookup for networks with two-digit conuntry codes.

The original MCC/MNC population script used the following encoding for MCC/MNC values:

- MCC - interpret the original value as hex;
- 2-digit MNC - append "f" and interpret the resulting value as hex;
- 3-digit MNC - interpret the original value as hex.

So during lookup the system shall also use this conversion logic before querying
the information from the table.
</pre>
</div>
</content>
</entry>
<entry>
<title>initial commit</title>
<updated>2015-04-20T22:14:31+00:00</updated>
<author>
<name>Jesse Gilles</name>
<email>jgilles@multitech.com</email>
</author>
<published>2015-04-20T22:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/libmts-io.git/commit/?id=d84d880627bcc1e1898a8f96b861bc25863ec86c'/>
<id>d84d880627bcc1e1898a8f96b861bc25863ec86c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
