PN532SpiImpl class

Inheritance

Constructors

PN532SpiImpl({int? resetPin, int? irqPin, int? chipSelectPin, int spiBus = 0, int spiChip = 0})
The spiBus and spiChip corresponds to /dev/spidev[spiBus].[spiChip].

Properties

chipSelectGpio GPIO?
final
hashCode int
The hash code for this object.
no setterinherited
irqGpio GPIO?
finalinherited
pn532ReadyFunction PN532ReadyFunction
latefinalinherited
pn532StatusList List<int>
getter/setter pair
resetGpio GPIO?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spi SPI
final
useIrq bool
latefinalinherited

Methods

dispose() → void
override
getCorrectReadyFunction() PN532ReadyFunction
inherited
isReady(int attemptCount) bool
The implementation is protocol based. Just check if the PN532 is ready based on the used protocol (if an irqPin) was specified the PN532BaseProtocol will use the irqPin instead of this funciton!
override
isReadyUsingInterrupt() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readData(int length) List<int>
override
readWriteHelper(List<int> message) List<int>
reset() → void
inherited
reverseUint8List(List<int> list) List<int>
toString() String
A string representation of this object.
inherited
waitReady({int timeout = pn532StandardTimeout}) → void
inherited
wakeUp() → void
override
writeData(List<int> data) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited