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

Rs232 and lan communication protocol
Hide thumbs Also See for F1+:
Table of Contents

Advertisement

APPENDIX A, BINARY OPERATION PACKET TYPE

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:
typedef struct
{
eOPERATION_TYPE eOpType;
WORD
eOperation;
WORD
bIsAvail;
DWORD
dwTarget;
DWORD
dwValue;
LONG
lwMin;
LONG
lwMax;
LONG
lwInc;
} 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.
// Operation type.
// Operation
// Operation validation.
// Operation target.
// Operation value.
// Lower limit.
// Upper limit.
// Increment.
A.

Operation Packet Payload Format

Field
Byte
Field Name
Value
1-7
1-7
8
Operation Type
9-10
Operation Number
11
Operation Validation
12
13-16
17-18
Operation Value
19-20
Operation Value
21-24
Lower Limit
25-28
Upper Limit
29-32
Increment
Table 2: Packet Payload format
Description
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)
1
OPERATION_SET
2
OPERATION_GET
3
OPERATION_INCREMENT
4
OPERATION_DECREMENT
5
OPERATION_EXECUTE
7
OPERATION_DESCRIPTOR
Operation ID.
Operation is valid, return only.
n/a (not available for use).
n/a (not available for use).
Value to SET or the value of the GET on
a return.
Not in use
Lower Parameter limit.
Upper Parameter limit
Increment steps within limits.
1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the F1+ and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

F1

Table of Contents