View previous topic :: View next topic |
Author |
Message |
tupac
Joined: 20 Jun 2011 Posts: 13
|
Posted: Tue Jun 21, 2011 2:33 pm Post subject: Extracting Terminal Profile |
|
|
Forgive me if this has been ask and answered a bunch but.. how do you recognize/extract/view a terminal profile?
I know that a ME that supports proactive SIMs shall be identified as such when it sends a TERMINAL PROFILE command during SIM initialization.
So using dbg I've logged a phones startup communications four a couple mins while the phone completely booted, what do I need to search for in the log to get the terminal profile? |
|
Back to top |
|
|
dary
Joined: 15 Oct 2007 Posts: 54
|
Posted: Tue Jun 21, 2011 7:21 pm Post subject: |
|
|
Look for APDU starting 0xa0 0x10 ...
In this example
FROM ME: a0 10 00 00 13
TO SIM: a0 10 00 00 13
FROM ME: ff ff ff ff 7f 3f 00 df ff 00 00 1f e2 86 0b 22 03 09 00
TO SIM: ff ff ff ff 7f 3f 00 df ff 00 00 1f e2 86 0b 22 03 09 00
Terminal Profile is
ff ff ff ff 7f 3f 00 df ff 00 00 1f e2 86 0b 22 03 09 00 |
|
Back to top |
|
|
tupac
Joined: 20 Jun 2011 Posts: 13
|
Posted: Tue Jun 21, 2011 8:51 pm Post subject: |
|
|
So I don't have a any messages starting with a0 10 in either of the logs that I have, at what point would an ME send its terminal profile to the SIM is it part of the start up sequence or would there have to be an event to prompt the ME to send it ?
I don't see the INS byte of 10 listed on any of the documentation I've looked at... is there a complete listing of Class and Instructions bytes somewhere?
I've been using the following link to develop a parser but would love a better list if one exists.
http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4_5_basic_organizations.aspx#chap5_4 |
|
Back to top |
|
|
pz
Joined: 12 Mar 2004 Posts: 1161
|
Posted: Mon Jun 27, 2011 2:19 pm Post subject: |
|
|
tupac wrote: | So I don't have a any messages starting with a0 10 in either of the logs that I have, at what point would an ME send its terminal profile to the SIM is it part of the start up sequence or would there have to be an event to prompt the ME to send it ?
I don't see the INS byte of 10 listed on any of the documentation I've looked at... is there a complete listing of Class and Instructions bytes somewhere?
I've been using the following link to develop a parser but would love a better list if one exists.
http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4_5_basic_organizations.aspx#chap5_4 |
See 11.11 from www.etsi.org |
|
Back to top |
|
|
|