IsoDepTransport

constructor(isoDep: IsoDep, timeoutMillis: Long = DEFAULT_TIMEOUT_MILLIS)

Wraps isoDep, which may be connected or not. The first transceive connects it if needed and sets the time limit, once; the transport never connects again.

Parameters

isoDep

The tag's ISO-DEP technology, from IsoDep.get(tag).

timeoutMillis

How long to wait for the chip to answer one command, in milliseconds. The default allows for the slow commands of a chip.

Throws

when timeoutMillis is not in 1 to Int.MAX_VALUE (the platform takes an int).