mirror of https://gerrit.osmocom.org/pysim
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:
parent
ea600a8451
commit
857f110492
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue