Click or drag to resize

CommandListAppendSerialPortVerifyResponse(Byte, Byte) Method

Sends a message via the serial port, and waits for an expected response.


Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.6.0
Syntax
C#
public void AppendSerialPortVerifyResponse(
	byte[] message,
	byte[] goodResponse
)

Parameters

message  Byte
The message to be sent.
goodResponse  Byte
The expected good response indicating success.
Remarks
Appends a SERIAL_PORT_VERIFY_RESPONSE command to the list.

NB: if End-Of-Message sequences are required, they must be explicitly included at the ends of the message and the goodResponse.

See Also