vrLib SDK Documentation
Build_Response Method (id, flags, address, deviceType, payload)
NamespacesVideoRay.CommunicationProtocol_PRO4_PacketBuild_Response(Byte, Byte, Byte, Byte, array<Byte>[]()[])
Create and populate a response packet
Declaration Syntax
C#Visual BasicVisual C++
public static Protocol_PRO4_Packet Build_Response(
	byte id,
	byte flags,
	byte address,
	byte deviceType,
	byte[] payload
)
Public Shared Function Build_Response ( _
	id As Byte, _
	flags As Byte, _
	address As Byte, _
	deviceType As Byte, _
	payload As Byte() _
) As Protocol_PRO4_Packet
public:
static Protocol_PRO4_Packet^ Build_Response(
	unsigned char id, 
	unsigned char flags, 
	unsigned char address, 
	unsigned char deviceType, 
	array<unsigned char>^ payload
)
Parameters
id (Byte)
Self ID
flags (Byte)
FLAGS indicating type of response requested
address (Byte)
CSR address to write into and or read from
deviceType (Byte)
Device Type identifier for the response
payload (array< Byte >[]()[])
data payload bytes
Return Value
Fully formed PRO4 protocol response packet

Assembly: vrLib (Module: vrLib) Version: 2.0.1.0 (2.0.1.0)