<p>dexter <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/9571">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">__init__: allow wildcards in expected SW for send_apdu_checksw()<br><br>The method send_apdu_checksw() is used to check the SW of the final<br>response against some pre defined value. However, in many cases the<br>last two digits of the SW are used to return varying information<br>(e.g. length information or a more specific status info). To cover<br>those cases it would be helfpul to define status words that contain<br>wildcards (e.g. 61**) in order to be able to accept all SWs from<br>6100 to 61ff.<br><br>- When the user supplies an expected SW with wildcards, mask out<br>  those digits in the response before comparing<br><br>Change-Id: I5bfc0522b4228b5d9b3415f6e708abcf0da0a7b7<br>---<br>M pySim/transport/__init__.py<br>1 file changed, 13 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/71/9571/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/9571">change 9571</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/9571"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I5bfc0522b4228b5d9b3415f6e708abcf0da0a7b7 </div>
<div style="display:none"> Gerrit-Change-Number: 9571 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>