PN532I2CImpl class
- Inheritance
-
- Object
- PN532BaseProtocol
- PN532I2CImpl
Constructors
- PN532I2CImpl({int busNumber = 1, int? resetPin, int? irqPin, int? hardwareRequestPin})
-
The
busNumber
corresponds to the thei2c-x
file. (With thex
being thebusNumber
)
Properties
- hardwareRequestGPIO → GPIO?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- i2c → I2C
-
final
- irqGpio → GPIO?
-
finalinherited
- pn532ReadyFunction ↔ PN532ReadyFunction
-
latefinalinherited
- resetGpio → GPIO?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 thePN532BaseProtocol
will use theirqPin
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
-
reset(
) → void -
inherited
-
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