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

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