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
diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py
index 0927c9f..7e7020b 100644
--- a/pySim/ts_51_011.py
+++ b/pySim/ts_51_011.py
@@ -878,11 +878,13 @@
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