mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-29 17:49:03 +03:00
Treat MCC and MNC as strings, not integers
A MNC of 02 and 002 are *not* equal. The former is a two-digit MNC and the latter is a three-digit MNC. Hence, we shouldn't treat MNCs as integer values as we have no clue how many leading zeroes (if any) the user entered. Change-Id: I9d1d07a64888c76703c3e430bbdd822080c05819 Closes: OS#4523
This commit is contained in:
committed by
Philipp Maier
parent
ff84c23839
commit
7f1d3c496f
@@ -31,7 +31,7 @@ OPLMNwAcT:
|
||||
ffffff0000 # unused
|
||||
|
||||
HPLMNAcT:
|
||||
fff11fffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
|
||||
00f110ffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
|
||||
ffffff0000 # unused
|
||||
ffffff0000 # unused
|
||||
ffffff0000 # unused
|
||||
|
||||
Reference in New Issue
Block a user