Skip to content
Success

Changes

Summary

  1. OmapiCallbackHandlerVpcd: fetch SELECT response from OMAPI (details)
Commit e701a00c9c3ea50d12dfd0d4a4497beae1fc20e2 by pmaier@sysmocom.de
OmapiCallbackHandlerVpcd: fetch SELECT response from OMAPI

At the moment we get the select response by selecting 7FFF, which
is an alias for the currently selected application. This returns a
select response when an ISIM or USIM application is selected. Other
applications may react differently here.

OMAPI has a getSelectResponse method through which we can get the
actual response that was received from the card when the application
was selected when openLogicalChannel was called. This is far more
accurate, so lets use getSelectResponse instead of selecting 7FFF.

Change-Id: Iacbc907ef157f20bed88325fcf6b58717990005a
The file was modifiedapp/src/main/java/org/osmocom/androidApduProxy/Omapi.java
The file was modifiedapp/src/main/java/org/osmocom/androidApduProxy/OmapiCallbackHandlerVpcd.java