EasyManua.ls Logo

Projectiondesign F1+ - Appendix A, Binary Operation Packet Type; Operation Packet Type; Operation Packet Payload Format

Projectiondesign F1+
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
21
A.1 Operation Packet Type
The Operation packet is used by the host system to execute operations (such as Bright-
ness, Contrast, Image Position, etc) in the target system. The Operation packet payload
size is 11 bytes.
The source code definition of the Operation packet data structure is:
APPENDIX A, BINARY OPERATION PACKET TYPE
A.2 Operation Packet Payload Format
Byte Field Name
Field
Value
Description
1-7 1-7
Header, which consists of:
Byte 1-5: 0xBE 0xEF 0x03 0x19 0x00
Byte 6-7: CRC (not in use)
(see appendix C for an example of a
complete packet)
8
Operation Type 1 OPERATION_SET
2 OPERATION_GET
3 OPERATION_INCREMENT
4 OPERATION_DECREMENT
5 OPERATION_EXECUTE
7 OPERATION_DESCRIPTOR
9-10 Operation Number Operation ID.
11 Operation Validation Operation is valid, return only.
12 n/a (not available for use).
13-16 n/a (not available for use).
17-18 Operation Value
Value to SET or the value of the GET on
a return.
19-20 Operation Value Not in use
21-24 Lower Limit Lower Parameter limit.
25-28 Upper Limit Upper Parameter limit
29-32 Increment Increment steps within limits.
Table 2: Packet Payload format
typedef struct
{
eOPERATION_TYPE eOpType; // Operation type.
WORD eOperation; // Operation
WORD bIsAvail; // Operation validation.
DWORD dwTarget; // Operation target.
DWORD dwValue; // Operation value.
LONG lwMin; // Lower limit.
LONG lwMax; // Upper limit.
LONG lwInc; // Increment.
} OPERATION_MESSAGE;
This lets the user directly perform logical operations such as “Set Contrast = 80”.
If the user performs an OPERATION_GET, the returned packet will include operation
and target along with the value.

Related product manuals