ExtendedCommandHandler.HasCommandError(FirmataCommandSequence, Byte[]) 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.
Callback function that returns whether the given reply indicates an error
protected virtual Iot.Device.Arduino.CommandError HasCommandError (Iot.Device.Arduino.FirmataCommandSequence sequence, byte[] reply);
abstract member HasCommandError : Iot.Device.Arduino.FirmataCommandSequence * byte[] -> Iot.Device.Arduino.CommandError
override this.HasCommandError : Iot.Device.Arduino.FirmataCommandSequence * byte[] -> Iot.Device.Arduino.CommandError
Protected Overridable Function HasCommandError (sequence As FirmataCommandSequence, reply As Byte()) As CommandError
Parameters
- sequence
- FirmataCommandSequence
The original sequence
- reply
- Byte[]
The reply. IsMatchingAck(FirmataCommandSequence, Byte[]) is already tested to be true for this reply
Returns
A command error code, in case this reply indicates a no-acknowledge
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