GroveNfcPn532Interface class abstract
Communications interface to the PN532.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
initialise(
) → bool - Initialise the interface. Returns true if successful.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readResponse(
List< int> rBuffer, int length, {int? maxTimeToWait}) → int - Read the response of a command, strip prefix and suffix. Maximum time to wait is in milliseconds, defaults to GroveNfcPn532Definitions.maxTimeToWait Always returns a result, 0 indicates failure.
-
toString(
) → String -
A string representation of this object.
inherited
-
wakeup(
) → bool - Wake up the PN532 before communicating with it. Returns true if the wkeup succeeded.
-
writeCommand(
List< int> header, {List<int> ? body}) → CommandStatus - Write a command to the PN532 and check the acknowledgement.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited