GroveNfcPn532Hsu class
Communications interface to the PN532 High Speed Uart(HSU) interface.
- Implemented types
Constructors
- GroveNfcPn532Hsu(MraaUart _mraaUart, {String? uartDevice = GroveNfcPn532Definitions.uartDefaultDevice})
- Construction
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
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readResponse(
List< int> rBuffer, int length, {int? maxTimeToWait = GroveNfcPn532Definitions.maxTimeToWait}) → int -
Read the response of a command, strip prefix and suffix.
Maximum time to wait is in milliseconds.
Always returns a result, a length of 0 indicates failure.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
wakeup(
) → bool -
Wake up the PN532 before communicating with it.
override
-
writeCommand(
List< int> header, {List<int> ? body}) → CommandStatus -
Write a command to the PN532 and check the acknowledgement.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited