Client class

An mcumgr client.

Pass your own transport layer to the constructor. Call methods on this class to execute commands.

Multiple commands may be executed at the same time.

Available Extensions

Constructors

Client({required Stream<List<int>> input, required WriteCallback output, Encoding encoding = smp})
Creates a client.

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

close() Future<void>
execute(Message msg, Duration timeout) Future<Message>
Executes a message.
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