FlserialBindings class
Bindings for src/flserial.h
.
Regenerate bindings with dart run ffigen --config ffigen.yaml
.
Constructors
- FlserialBindings.new(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary
. -
FlserialBindings.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup
.
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
-
fl_close(
int flh) → int -
fl_ctrl(
int flh, int param, int value) → int -
fl_free(
) → int -
fl_init(
int portCount) → int -
fl_open(
int flh, Pointer< Char> portname, int baudrate) → int -
fl_ports(
int index, int buffsize, Pointer< Char> buff) → int -
fl_read(
int flh, int len, Pointer< Char> buff) → int -
fl_set_callback(
int flh, flcallback cb) → int -
fl_write(
int flh, int len, Pointer< Char> data) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited