ExtendedCommandHandler.SendCommandsAndWait Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send a command to the device, expecting a reply.
protected bool SendCommandsAndWait (System.Collections.Generic.IList<Iot.Device.Arduino.FirmataCommandSequence> commandSequences, TimeSpan timeout, out Iot.Device.Arduino.CommandError error);
member this.SendCommandsAndWait : System.Collections.Generic.IList<Iot.Device.Arduino.FirmataCommandSequence> * TimeSpan * CommandError -> bool
Protected Function SendCommandsAndWait (commandSequences As IList(Of FirmataCommandSequence), timeout As TimeSpan, ByRef error As CommandError) As Boolean
Parameters
- commandSequences
- IList<FirmataCommandSequence>
Commands to send. This should normally be a sysex command.
- timeout
- TimeSpan
Command timeout
- error
- CommandError
An error code in case of a failure
Returns
True if all packets where send and properly acknowledged
Exceptions
The timeout elapsed before a reply was received.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for