<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/24006">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ts_51_011: fix encoder of EF_SPN:<br><br>The encoder for EF_SPN is passing the 'spn' parameter (which is a list)<br>directly to enc_spn without taking it apart first.<br><br>Change-Id: I0a405793c8909d4279e634b93dcb76e5cb2963f3<br>Related: OS#4963<br>---<br>M pySim/ts_51_011.py<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/06/24006/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py</span><br><span>index 1675aaf..8e4428c 100644</span><br><span>--- a/pySim/ts_51_011.py</span><br><span>+++ b/pySim/ts_51_011.py</span><br><span>@@ -522,7 +522,8 @@</span><br><span>     def _decode_hex(self, raw_hex):</span><br><span>         return {'spn': dec_spn(raw_hex)}</span><br><span>     def _encode_hex(self, abstract):</span><br><span style="color: hsl(0, 100%, 40%);">-        return enc_spn(abstract['spn'])</span><br><span style="color: hsl(120, 100%, 40%);">+        spn = abstract['spn']</span><br><span style="color: hsl(120, 100%, 40%);">+        return enc_spn(spn[0], spn[1], spn[2])</span><br><span> </span><br><span> # TS 51.011 Section 10.3.13</span><br><span> class EF_CBMI(TransRecEF):</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/24006">change 24006</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/pysim/+/24006"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: pysim </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0a405793c8909d4279e634b93dcb76e5cb2963f3 </div>
<div style="display:none"> Gerrit-Change-Number: 24006 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>