Skip to content
Success

Changes

Summary

  1. pySim/commands: Fix envelope command APDU case after T=1 support (details)
Commit f57f6a95a5fae4246c0a65bf92ced951e803df07 by laforge
pySim/commands: Fix envelope command APDU case after T=1 support

When we merged I8b56d7804a2b4c392f43f8540e0b6e70001a8970 for T=1
support, the ENVELOPE C-APDU was not adjusted to reflect the correct
case.  ENVELOPE expects a response and hence needs a Le byte present.

This avoids below related message when performing e.g. OTA via SMS

  Warning: received unexpected response data, incorrect APDU-case (3, should be 4, missing Le field?)!

Change-Id: Ice12675e02aa5438cf9f069f8fcc296c64aabc5a
Related: OS#6367
The file was modifiedpySim/commands.py