ExtendedCommandHandler.OnSysexData(ReplyType, 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.
This is called when a sysex command is received from the board. This can include the reply to a command sent by a SendCommandAndWait(FirmataCommandSequence) before, in which case the reply should be ignored, as it is returned as result of the call itself. Therefore it is advised to use this function only to listen for data sent by the device automatically (e.g event messages or recurring status reports)
protected virtual void OnSysexData (Iot.Device.Arduino.ReplyType type, byte[] data);
abstract member OnSysexData : Iot.Device.Arduino.ReplyType * byte[] -> unit
override this.OnSysexData : Iot.Device.Arduino.ReplyType * byte[] -> unit
Protected Overridable Sub OnSysexData (type As ReplyType, data As Byte())
Parameters
- type
- ReplyType
Type of data received from the hardware. This should normally be SysexCommand, unless the hardware sends unencoded Ascii messages
- data
- Byte[]
The binary representation of the received data
Remarks
The implementation needs to check the type and source of the data. The messages are not filtered by requester!
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