Create and populate a request packet
Namespace:
VideoRay.CommunicationAssembly: vrLib (in vrLib.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public static Protocol_PRO4_Packet Build_Request( byte id, byte flags, byte address, byte[] payload ) |
Visual Basic (Declaration) |
---|
Public Shared Function Build_Request ( _ id As Byte, _ flags As Byte, _ address As Byte, _ payload As Byte() _ ) As Protocol_PRO4_Packet |
Visual C++ |
---|
public: static Protocol_PRO4_Packet^ Build_Request( unsigned char id, unsigned char flags, unsigned char address, array<unsigned char>^ payload ) |
Parameters
- id
- Type: System..::.Byte
ID of destination device
- flags
- Type: System..::.Byte
FLAGS indicating type of response requested
- address
- Type: System..::.Byte
CSR address to write into and or read from
- payload
- Type: array<
System..::.Byte
>[]()[]
data payload bytes