mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-29 05:01:03 +03:00
EF.AD: Avoid NotImplementedErrror regarding network names
Even while we don't yet have a proper decoder, let's at least represent the network name as hex-string Change-Id: I4ed626699d1e4e484d4ffd04349676dadff626a0
This commit is contained in:
@@ -878,11 +878,13 @@ class EF_InvScan(TransparentEF):
|
|||||||
class EF_PNN(LinFixedEF):
|
class EF_PNN(LinFixedEF):
|
||||||
class FullNameForNetwork(BER_TLV_IE, tag=0x43):
|
class FullNameForNetwork(BER_TLV_IE, tag=0x43):
|
||||||
# TS 24.008 10.5.3.5a
|
# TS 24.008 10.5.3.5a
|
||||||
pass
|
# TODO: proper decode
|
||||||
|
_construct = HexAdapter(GreedyBytes)
|
||||||
|
|
||||||
class ShortNameForNetwork(BER_TLV_IE, tag=0x45):
|
class ShortNameForNetwork(BER_TLV_IE, tag=0x45):
|
||||||
# TS 24.008 10.5.3.5a
|
# TS 24.008 10.5.3.5a
|
||||||
pass
|
# TODO: proper decode
|
||||||
|
_construct = HexAdapter(GreedyBytes)
|
||||||
|
|
||||||
class NetworkNameCollection(TLV_IE_Collection, nested=[FullNameForNetwork, ShortNameForNetwork]):
|
class NetworkNameCollection(TLV_IE_Collection, nested=[FullNameForNetwork, ShortNameForNetwork]):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user