X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcectypes.h;h=6b7f73cbaa149a81549fd8b8be3330d7994d808f;hb=784a6a797b71aafabbcbcb666b2e42ee02e13010;hp=58b6ef4cc97bd0ff44df0d5d6bfcf6de9fee3605;hpb=f4b4442502dd84b2e76a7c4f3772e6c52385dc02;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 58b6ef4..6b7f73c 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -257,7 +257,7 @@ namespace CEC { /*! * wait this amount of milliseconds before retrying when libCEC failed to make itself the active source */ -#define CEC_ACTIVE_SOURCE_SWITCH_RETRY_TIME_MS 5000 +#define CEC_ACTIVE_SOURCE_SWITCH_RETRY_TIME_MS 1000 /*! * don't forward any power off command to the client application for this amount of milliseconds after sending a power off command @@ -274,6 +274,16 @@ namespace CEC { */ #define CEC_RPI_VIRTUAL_COM "RPI" +/*! + * the path to use for the TDA995x's CEC wire + */ +#define CEC_TDA995x_PATH "/dev/hdmicec" + +/*! + * the name of the virtual COM port to use for the TDA995x's CEC wire + */ +#define CEC_TDA995x_VIRTUAL_COM "CuBox" + /*! * Mimimum client version */ @@ -299,6 +309,7 @@ namespace CEC { #define MSGESC 0xFD #define ESCOFFSET 3 + typedef enum cec_abort_reason { CEC_ABORT_REASON_UNRECOGNIZED_OPCODE = 0,//!< CEC_ABORT_REASON_UNRECOGNIZED_OPCODE @@ -830,7 +841,8 @@ typedef enum cec_adapter_type ADAPTERTYPE_UNKNOWN = 0, ADAPTERTYPE_P8_EXTERNAL = 0x1, ADAPTERTYPE_P8_DAUGHTERBOARD = 0x2, - ADAPTERTYPE_RPI = 0x100 + ADAPTERTYPE_RPI = 0x100, + ADAPTERTYPE_TDA995x = 0x200 } cec_adapter_type; typedef struct cec_menu_language @@ -1362,6 +1374,8 @@ typedef enum cec_client_version CEC_CLIENT_VERSION_1_9_0 = 0x1900, CEC_CLIENT_VERSION_1_99_0 = 0x1990, CEC_CLIENT_VERSION_2_0_0 = 0x2000, + CEC_CLIENT_VERSION_2_0_1 = 0x2001, + CEC_CLIENT_VERSION_2_0_2 = 0x2002, } cec_client_version; typedef enum cec_server_version @@ -1384,6 +1398,8 @@ typedef enum cec_server_version CEC_SERVER_VERSION_1_9_0 = 0x1900, CEC_SERVER_VERSION_1_99_0 = 0x1990, CEC_SERVER_VERSION_2_0_0 = 0x2000, + CEC_SERVER_VERSION_2_0_1 = 0x2001, + CEC_SERVER_VERSION_2_0_2 = 0x2002, } cec_server_version; struct libcec_configuration