mirror of https://gerrit.osmocom.org/pysim
Fixed `mnc` encoding
According to 3GPP TS 24.008 section 10.5.5.36 PLMN identity of the CN operator Change-Id: I400435abfa8b67da886fc39c801e1abba39725bf
This commit is contained in:
parent
92b9356ed2
commit
fec721fcb1
|
@ -413,7 +413,7 @@ def enc_plmn(mcc: Hexstr, mnc: Hexstr) -> Hexstr:
|
|||
if len(mnc) == 0:
|
||||
mnc = "FFF"
|
||||
elif len(mnc) == 1:
|
||||
mnc = "F0" + mnc
|
||||
mnc = "0" + mnc + "F"
|
||||
elif len(mnc) == 2:
|
||||
mnc += "F"
|
||||
|
||||
|
|
Loading…
Reference in New Issue