processCommandApdu

protected open suspend override fun processCommandApdu(commandApdu: CommandApdu): ResponseApdu

Processes a CommandApdu sequentially on the service's background coroutine.

Implementations are expected to handle the initial SELECT APPLICATION command (CommandApdu.isApplicationSelect) as well as subsequent application-specific commands.

Return

the ResponseApdu to send back to the remote NFC reader.

Parameters

commandApdu

the CommandApdu to process.