Fill out the packet header and set the payload bytes.

Namespace:  VideoRay.Communication
Assembly:  vrLib (in vrLib.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public void Format_Response(
	byte id,
	byte flags,
	byte address,
	byte deviceType,
	byte[] payload
)
Visual Basic (Declaration)
Public Sub Format_Response ( _
	id As Byte, _
	flags As Byte, _
	address As Byte, _
	deviceType As Byte, _
	payload As Byte() _
)
Visual C++
public:
void Format_Response(
	unsigned char id, 
	unsigned char flags, 
	unsigned char address, 
	unsigned char deviceType, 
	array<unsigned char>^ payload
)

Parameters

id
Type: System..::.Byte
Self ID
flags
Type: System..::.Byte
FLAGS indicating type of response requested
address
Type: System..::.Byte
CSR address to write into and or read from
deviceType
Type: System..::.Byte
Device Type identifier for the response
payload
Type: array< System..::.Byte >[]()[]
data payload bytes

See Also