Compare commits

...

1 commit

Author SHA1 Message Date
cacc3fc32d
feat: send terminal capabilities 2025-03-28 12:48:24 +08:00

View file

@ -45,6 +45,17 @@ class UsbApduInterface(
e.printStackTrace() e.printStackTrace()
throw e throw e
} }
// Send Terminal Capabilities
// Specs: ETSI TS 102 221 v15.0.0 - 11.1.19 TERMINAL CAPABILITY
transmitApduByChannel(
tx = buildCmd(
0x80.toByte(), 0xaa.toByte(), 0x00, 0x00,
"A9088100820101830107".decodeHex(),
le = null,
),
channel = 0,
)
} }
override fun disconnect() { override fun disconnect() {