User Manual BDS4621

Operation Packet Type

The Operation packet is used by the host system to execute operations (such as Brightness, Contrast, Image Position, etc) in the target system. The Operation packet payload size is 25 bytes.

Byte

Field Name

Field Value

 

Description

 

0

Operation Type

1

 

OPERATION_SET

 

 

2

 

OPERATION_GET

 

 

3

OPERATION_INCREMENT

 

 

4

OPERATION_DECREMENT

 

 

5

OPERATION_EXECUTE

1-2

Operation

 

Operation ID as defined in Configurator

3-4

Is Avail

 

Operation is available

5-8

Operation Target

 

Used for Operation with Targets.

 

 

 

These Targets are defined in configurator.

 

 

 

For instance, op_BRIGHTNESS has a

 

 

 

Target of either MAIN or PIP window.

9-12

Operation Value

 

Value of the Set on a set or the Value of the

 

 

 

 

Get on a Return.

13-16

Operation Value

 

The Minimum Value of the set

 

of minimum

 

for operation command.

17-20

Operation Value

 

The Maximum Value of the set

 

of maximum

 

for operation command.

21-24

Operation Value

 

The Increment Value of the set

 

of Increment

 

for operation command.

 

 

 

Table 8: Operation Packet Payload Format

 

 

 

The source code definition of the Operation

 

 

 

packet data structure is:

 

 

 

 

typedef struct

 

 

 

 

{

 

 

 

 

 

eOPERATION_TYPE

eOpType;

 

 

 

WORD

eOperation;

 

 

 

WORD

bisAvail;

 

 

 

DWORD

dwTarget;

 

 

 

DWORD

dwValue;

 

 

 

DWORD

lmMin;

 

 

 

 

DWORD

lmMax;

 

 

 

 

DWORD

lmInc;

 

 

 

 

} OPERATION_MESSAGE;

 

This lets the user directly perform logical operations such as "Set Contrast = 80".

52

Page 52
Image 52
Philips BDS4621 user manual Operation Packet Type, Operationexecute