repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: split up WaitForAck() and ParseMessage(). currently has a bit of dupe logging...
[deb_libcec.git]
/
include
/
cectypes.h
diff --git
a/include/cectypes.h
b/include/cectypes.h
index 004ea060170047888c636bf8d019791e7fd24f87..4396755d075587d313938d7ad5898ddb8f64b020 100644
(file)
--- a/
include/cectypes.h
+++ b/
include/cectypes.h
@@
-434,6
+434,11
@@
typedef enum cec_user_control_code
CEC_USER_CONTROL_CODE_UNKNOWN
} cec_user_control_code;
CEC_USER_CONTROL_CODE_UNKNOWN
} cec_user_control_code;
+typedef enum cec_an_user_control_code
+{
+ CEC_AN_USER_CONTROL_CODE_RETURN = 0x91
+} cec_an_user_control_code;
+
typedef enum cec_logical_address
{
CECDEVICE_UNKNOWN = -1, //not a valid logical address
typedef enum cec_logical_address
{
CECDEVICE_UNKNOWN = -1, //not a valid logical address
@@
-524,10
+529,12
@@
typedef enum cec_opcode
typedef enum cec_log_level
{
typedef enum cec_log_level
{
- CEC_LOG_DEBUG = 0,
- CEC_LOG_NOTICE,
- CEC_LOG_WARNING,
- CEC_LOG_ERROR
+ CEC_LOG_ERROR = 1,
+ CEC_LOG_WARNING = 2,
+ CEC_LOG_NOTICE = 4,
+ CEC_LOG_TRAFFIC = 8,
+ CEC_LOG_DEBUG = 16,
+ CEC_LOG_ALL = 31
} cec_log_level;
typedef struct cec_log_message
} cec_log_level;
typedef struct cec_log_message
@@
-689,7
+696,8
@@
typedef struct cec_command
typedef enum cec_vendor_id
{
typedef enum cec_vendor_id
{
- CEC_VENDOR_SAMSUNG = 240,
+ CEC_VENDOR_SAMSUNG = 0x00F0,
+ CEC_VENDOR_LG = 0xE091,
CEC_VENDOR_UNKNOWN = 0
} vendor_id;
CEC_VENDOR_UNKNOWN = 0
} vendor_id;
@@
-699,8
+707,8
@@
typedef enum cec_vendor_id
#define MSGEND 0xFE
#define MSGESC 0xFD
#define ESCOFFSET 3
#define MSGEND 0xFE
#define MSGESC 0xFD
#define ESCOFFSET 3
-#define CEC_MIN_VERSION
6
-#define CEC_LIB_VERSION
7
+#define CEC_MIN_VERSION
8
+#define CEC_LIB_VERSION
8
#define CEC_BUTTON_TIMEOUT 500
#ifdef __cplusplus
#define CEC_BUTTON_TIMEOUT 500
#ifdef __cplusplus