Iso78.OpenSamLegacy
This command is deprecated. Do not use it in new code as we may remove it in the future!
This command sets up a communication channel to the SAM in the currently selected slot. If Iso78.OpenSAM was executed successfully, Iso78.ExchangeApdu can then be used to communicate with the SAM.
To close the communication channel after data exchange, the Iso78.CloseSam command has to be called.
Properties
- Command code: 0x4001
- Command timeout: 1200 ms
- Possible status codes: General status codes, Iso78.ErrInvalidSlot, Iso78.ErrAbort, Iso78.ErrProtNotSupported, Iso78.ErrHw, Iso78.ErrInvalidSlot, Iso78.ErrInvalid7816Cmd
Parameters (request frame)
None
Returned values (response frame)
Name | Type/Size | Description |
---|---|---|
Length of ATR | Integer (8 bits) |
Length of ATR in bytes |
ATR | Raw data | ATR (Answer To Reset) string of SAM. |