Attention is currently required from: Hoernchen, laforge.

dexter has posted comments on this change by Hoernchen. ( 
https://gerrit.osmocom.org/c/pysim/+/43718?usp=email )

Change subject: ota: TS 102 226 PUSH command and CAT_TP trigger
......................................................................


Patch Set 1: Code-Review+2

(1 comment)

Patchset:

PS1:
I think this is technically ok, but there is one technical detail that is not 
quite right:

This tool generates TPDUs not APDUs. When I try to send the resulting 
hex-strings with pySIm-shell to a card, the following happens:

```
pySIM-shell (00:MF)> apdu 80ec010113b50103b9020400bc0301102dbe05217f000001
Warning: The default for the setable parameter `apdu_strict` will be changed 
from
         `False` to `True` in future pySim-shell releases. In case you are using
         the `apdu` command from a script that still mixes APDUs with TPDUs, 
consider
         fixing or adding a `set apdu_strict false` line at the beginning.
SW: 6d00

```

The problem is the missing Le field (0x00) in this case. When I append a 0x00 
byte the warning vanishes.

This is more or less a cosmetic issue. Nothing bad will happen. However, I 
thought that you should be aware of this detail. From within pySim-shell we 
send APDUs. In pySim.transport those APDUs are mapped on TPDUs.



--
To view, visit https://gerrit.osmocom.org/c/pysim/+/43718?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib3423c4fe582dbcc9434c8234709a7b845fa6bcd
Gerrit-Change-Number: 43718
Gerrit-PatchSet: 1
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Attention: Hoernchen <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Comment-Date: Fri, 25 Sep 2026 08:34:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Reply via email to