
Stoltzen ATHENA 44HB 4x4 HDMI 2.0 HDBaseT Matrix Switcher
54
8.3.6 CEC Control
Command
Description
Command
Example
and
Response
#CEC H1 [BB]
[CC] [DD]
#CEC HA [BB]
[CC] [DD]
#CEC HDMI O1
[BB] [CC] [DD]
#CEC HDMI OA
[BB] [CC] [DD]
#CEC HDBT O1
[BB] [CC] [DD]
#CEC HDBT OA
[BB] [CC] [DD]
BB: device type (TV:0x40,0x20,0x80;DVD/PLAYER:0x04,0x08;....);
example code:
#define CEC_ALL_DEVICE_TYPES_TV (0x80)
#define CEC_ALL_DEVICE_TYPES_RECORDING_DEVICE
(0x40)
#define CEC_ALL_DEVICE_TYPES_TUNER (0x20)
#define CEC_ALL_DEVICE_TYPES_PLAYBACK_DEVICE
(0x10)
#define CEC_ALL_DEVICE_TYPES_AUDIO_SYSTEM (0x08)
#define CEC_ALL_DEVICE_TYPES_CEC_SWITCH (0x04)
CC:CEC OPTION(for example 0x44 be equal to Tv's remote
contron)
eActiveSource =0x82, // follower:TV, switch --> Broadcst ,
DIRectly address
eImageViewOn =0x04, // follower:TV, switch --> Broadcst
eTextViewOn =0x0D, // follower:TV
eStandBy =0x36, // follower:All --> Broadcst
eUserControlPressed =0x44,// follower:All --> Broadcst// be
equal to TV remote control
DD:data of current option(CC) (example:0x41,VOLUME_UP),This
can send combined data, such as two or three groups, or not
according to
instructions,Up to nine groups;
typedef enum _CecUiCommand_t // Remote Control
Pass-through and UI command codes
{
CEC_RC_SELECT = 0x00,
CEC_RC_UP = 0x01,
CEC_RC_DOWN = 0x02,
CEC_RC_LEFT = 0x03,
CEC_RC_RIGHT = 0x04,
CEC_RC_RIGHT_UP = 0x05,
CEC_RC_RIGHT_DOWN = 0x06,
#CEC H3 04
44 4A (DVD
in and out of
warehouse)
#CEC HDBT
O3 80 44 6D
(TV ON)
#CEC HDMI
O3 80 44 6C
(TV
STANDBY)
@CEC H1
Send
Success
@CEC
HDMI O1
Send
Success
@CEC
HDBT O1
Send
Success