how to send apdu via scardTrasmit ?

Jhin Dong(董涛) 0 Reputation points
2025-05-09T09:11:01.49+00:00

Hi MSFT Developers:

I am developing an LPA application using the scard api。

I can connect to "Microsoft UICC ISO Reader 74be87c8 1" via SCardConnectA.

But when I send terminal_capabilities apdu = {0x80,0xAA,0x00,0x00,0x0A,0xA9,0x08,0x81,0x00,0x82,0x01,0x01,0x83,0x01,0x07} using SCardTransmit. The return value is 22 (ERROR_BAD_COMMAND).

How can I send the apdu correctly?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,932 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.