processCommandApdu

fun processCommandApdu(hostApduService: HostApduService, apdu: ByteArray): ByteArray?

Process APDU from remote reader.

This should be called by an application using NFC data transport from its HostApduService.processCommandApdu implementation for handling the mDL NFC device retrieveal Application ID (A0 00 00 02 48 04 00).

Return

the response APDU or null.

Parameters

hostApduService
apdu

the APDU.