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
changes/82/28682/2
Harald Welte 7 months ago
parent ea600a8451
commit 857f110492
  1. 6
      pySim/ts_51_011.py

@ -878,11 +878,13 @@ class EF_InvScan(TransparentEF):
class EF_PNN(LinFixedEF):
class FullNameForNetwork(BER_TLV_IE, tag=0x43):
# TS 24.008 10.5.3.5a
pass
# TODO: proper decode
_construct = HexAdapter(GreedyBytes)
class ShortNameForNetwork(BER_TLV_IE, tag=0x45):
# TS 24.008 10.5.3.5a
pass
# TODO: proper decode
_construct = HexAdapter(GreedyBytes)
class NetworkNameCollection(TLV_IE_Collection, nested=[FullNameForNetwork, ShortNameForNetwork]):
pass

Loading…
Cancel
Save