shrish123 kumar
shrish123 kumar

Reputation: 73

TelephonyManager.iccTransmitApduBasicChannel data argument format

I am using Telephony Manager to transmit APDU commands to the SIM. I have the MODIFY_PHONE_STATE permission.

I am using the below function:

String iccTransmitApduBasicChannel (int cla, int instruction, int p1, int p2, int p3, String data)

I want to know the format of the argument data. Is it in int or hex or other format?

Upvotes: 1

Views: 361

Answers (1)

Michael Roland
Michael Roland

Reputation: 40821

The data parameter of the method iccTransmitApduBasicChannel() corresponds to the DATA field of the APDU. Each byte of that field is represented as 2-digit hexadecimal value.

Upvotes: 1

Related Questions