<p>fixeria <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/pysim/+/18159">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Implement Generic SIM Access interface as per 3GPP TS 27.007<br><br>According to 3GPP TS 27.007, sections 8.17 and 8.18, the modem<br>may *optionally* provide Generic and/or Restricted SIM Access<br>to the TE (Terminal Equipment) by means of the AT commands.<br>This basically means that a modem can act as a card reader.<br><br>Generic SIM Access allows the TE to send raw PDUs in the format<br>as described in 3GPP TS 51.011 directly to the SIM card, while<br>Restricted SIM Access is more limited, and thus is not really<br>interesting to us.<br><br>This change implements a new transport called ModemATCommandLink,<br>so using it a SIM card can be read and/or programmed without the<br>need to remove it from the modem's socket. A downside of this<br>approach is relatively slow I/O speed compared to PC/SC readers.<br><br>Tested with Quectel EC20:<br><br>  $ ./pySim-read.py --modem-dev /dev/ttyUSB2<br><br>Change-Id: I20bc00315e2c7c298f46283852865c1416047bc6<br>Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com><br>---<br>M pySim-prog.py<br>M pySim-read.py<br>A pySim/transport/modem_atcmd.py<br>M pySim/utils.py<br>4 files changed, 147 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/59/18159/3</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/pysim/+/18159">change 18159</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/+/18159"/><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: I20bc00315e2c7c298f46283852865c1416047bc6 </div>
<div style="display:none"> Gerrit-Change-Number: 18159 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>