Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add possibility to set/get NAD on T=1 for MEP
MEP is Multiple Enabled Profiles and allows to have more than one SIM profile in an eSIM. See https://source.android.com/docs/core/connect/esim-mep This API is NOT a standard but a Thales implementation. dwControlCode with value set to SCARD_CTL_CODE(3600) allows to set/get NAD value using SCardControl(). pbSendBuffer can take two TLV commands: Set_T1_Logical_Interface_Number 3E 00 01 NN: Set NAD value command. with 3E = tag 00 01 = length NN = NAD value Responde is: 3E 00 01 SS with 3E = tag 00 01 = length SS = status - 0x00: Status OK - 0x01: Status KO Get_T1_Logical_Interface_Number 3F 00 00: Get current NAD value command. with 3F = tag 00 00 = length Response is: 3F 00 02 SS NN with 3F = tag 00 02 = length SS = status - 0x00: Status OK - 0x01: Status KO NN = NAD
- Loading branch information