NfcNoAnswer

Connection error: a chip read ended while the chip had not answered: no try of the read got past the first commands, the ones before the key is used.

The document was found, but each try was lost before the chip answered those commands, until the read's time for such tries passed. The chip may have answered some of the first ones (selecting and reading the first files) and then gone silent: that is this error too. The usual cause is a position where the chip gets too little power to answer; another position of the document on the device often helps.

It is also the error when the document was found but the link to it could not be set up three times in a row (the platform's connect failed with a lost link each time) and no try of the read had got past the first commands: the chip did not answer the platform's connect, the same on Android and iPhone.

A chip read reports it, never a transport. When a try of the read got past those first commands and the link was lost later, the read reports the loss itself (NfcTagLost or NfcTimeout).

Experimental: see ExperimentalTesseraChipApi. In Swift: NfcNoAnswer.shared.

Since

1.0.0

Properties

Link copied to clipboard
open override val code: String

A stable name of this error: see ChipError.code.

Link copied to clipboard
open override val description: String

English text for logs.

Link copied to clipboard
open val statusWord: Int?

The status word the chip answered with, when this error carries one (for example 0x6300 for a refused key), otherwise null. The same value as the statusWord of the subtypes that have one, so an app reads it without a cast.

Functions

Link copied to clipboard
open override fun toString(): String

NfcNoAnswer: followed by description.