repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no need to cache the physical address of the active source in the device map; the...
[deb_libcec.git]
/
include
/
cectypes.h
diff --git
a/include/cectypes.h
b/include/cectypes.h
index 58b6ef4cc97bd0ff44df0d5d6bfcf6de9fee3605..48d1ab8f7b840a5c41b965235903acf43b18f53b 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-82,7
+82,7
@@
namespace CEC {
/*!
* don't send the same key twice within this timeout in milliseconds
*/
/*!
* don't send the same key twice within this timeout in milliseconds
*/
-#define CEC_DOUBLE_TAP_TIMEOUT_MS 2
0
0
+#define CEC_DOUBLE_TAP_TIMEOUT_MS 2
5
0
/*!
* don't query the power state for the same device within this timeout in milliseconds
/*!
* don't query the power state for the same device within this timeout in milliseconds
@@
-257,7
+257,7
@@
namespace CEC {
/*!
* wait this amount of milliseconds before retrying when libCEC failed to make itself the active source
*/
/*!
* wait this amount of milliseconds before retrying when libCEC failed to make itself the active source
*/
-#define CEC_ACTIVE_SOURCE_SWITCH_RETRY_TIME_MS
5
000
+#define CEC_ACTIVE_SOURCE_SWITCH_RETRY_TIME_MS
1
000
/*!
* don't forward any power off command to the client application for this amount of milliseconds after sending a power off command
/*!
* 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"
*/
#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
*/
/*!
* Mimimum client version
*/
@@
-299,6
+309,7
@@
namespace CEC {
#define MSGESC 0xFD
#define ESCOFFSET 3
#define MSGESC 0xFD
#define ESCOFFSET 3
+
typedef enum cec_abort_reason
{
CEC_ABORT_REASON_UNRECOGNIZED_OPCODE = 0,//!< CEC_ABORT_REASON_UNRECOGNIZED_OPCODE
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_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
} cec_adapter_type;
typedef struct cec_menu_language
@@
-1362,6
+1374,9
@@
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_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_2_0_3 = 0x2003,
} cec_client_version;
typedef enum cec_server_version
} cec_client_version;
typedef enum cec_server_version
@@
-1384,6
+1399,9
@@
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_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_2_0_3 = 0x2003,
} cec_server_version;
struct libcec_configuration
} cec_server_version;
struct libcec_configuration