39 #define NEW_iCECMessagePtr(ptr) Impl_New_iCECMessagePtr(ptr)
50 unsigned char data[16];
58 unsigned char data[16];
74 #define cec_rx_message cec_message
85 unsigned char address;
86 unsigned char command;
87 unsigned char dataLength;
88 unsigned char messageData[255];
89 unsigned char control0;
90 unsigned char control1;
91 unsigned char control2;
92 unsigned char control3;
static int ptr
Definition: bcm.cpp:17
Definition: connections.h:57
Definition: hdmi_cec.h:83
int getCommand()
Definition: hdmi_cec.cpp:41
int getControl2()
Definition: hdmi_cec.h:100
eCECMessage(int address, int command, char *data, int length)
Definition: hdmi_cec.cpp:21
int getControl3()
Definition: hdmi_cec.h:101
int getControl1()
Definition: hdmi_cec.h:99
int getAddress()
Definition: hdmi_cec.cpp:36
int getControl0()
Definition: hdmi_cec.h:98
int getData(char *data, int length)
Definition: hdmi_cec.cpp:46
Definition: hdmi_cec.h:140
eHdmiCECDevice(eRCDriver *driver)
Definition: hdmi_cec.cpp:588
const char * getDescription() const
Get user readable description.
Definition: hdmi_cec.cpp:593
void handleCode(long code)
Handles a device specific code.
Definition: hdmi_cec.cpp:576
Definition: hdmi_cec.h:43
int hdmiFd
Definition: hdmi_cec.h:111
ePtr< eSocketNotifier > messageNotifier
Definition: hdmi_cec.h:112
bool linuxCEC
Definition: hdmi_cec.h:107
PSignal1< void, int > addressChanged
Definition: hdmi_cec.h:130
PSignal1< void, ePtr< iCECMessage > & > messageReceived
Definition: hdmi_cec.h:129
long translateKey(unsigned char code)
Definition: hdmi_cec.cpp:415
unsigned char deviceType
Definition: hdmi_cec.h:110
unsigned char physicalAddress[2]
Definition: hdmi_cec.h:108
int getLogicalAddress()
Definition: hdmi_cec.cpp:280
bool fixedAddress
Definition: hdmi_cec.h:109
struct eHdmiCEC::addressinfo __attribute__
static eHdmiCEC * getInstance()
Definition: hdmi_cec.cpp:172
void sendMessage(struct cec_message &message)
Definition: hdmi_cec.cpp:533
void setFixedPhysicalAddress(int address)
Definition: hdmi_cec.cpp:290
bool getActiveStatus()
Definition: hdmi_cec.cpp:318
int getDeviceType()
Definition: hdmi_cec.cpp:313
void hdmiEvent(int what)
Definition: hdmi_cec.cpp:326
~eHdmiCEC()
Definition: hdmi_cec.cpp:167
static eHdmiCEC * instance
Definition: hdmi_cec.h:106
unsigned char logicalAddress
Definition: hdmi_cec.h:110
void getAddressInfo()
Definition: hdmi_cec.cpp:190
void reportPhysicalAddress()
Definition: hdmi_cec.cpp:177
eHdmiCEC()
Definition: hdmi_cec.cpp:53
int getPhysicalAddress()
Definition: hdmi_cec.cpp:285
Definition: smartptr.h:11
A remote control.
Definition: rc.h:27
eRCDriver * driver
Definition: rc.h:30
Gives a callback when data on a file descriptor is ready.
Definition: ebase.h:146
Definition: hdmi_cec.h:11
virtual int getAddress()=0
virtual int getCommand()=0
virtual int getControl1()=0
virtual int getControl3()=0
virtual int getData(char *data, int length)=0
virtual int getControl0()=0
virtual int getControl2()=0
PyObject * New_iCECMessagePtr(const ePtr< iCECMessage > &ref)
unsigned char length
Definition: hdmi_cec.h:1
ePyObject Impl_New_iCECMessagePtr(const ePtr< iCECMessage > &ptr)
Definition: hdmi_cec.h:35
PyObject * PyFrom(ePtr< iCECMessage > &c)
Definition: hdmi_cec.h:29
SWIG_TEMPLATE_TYPEDEF(ePtr< iCECMessage >, iCECMessagePtr)
unsigned char address
Definition: hdmi_cec.h:0
unsigned char data[256]
Definition: hdmi_cec.h:2
#define cec_rx_message
Definition: hdmi_cec.h:74
list ref
Definition: create_picon_e1_to_e2.py:17
destination
Definition: lamedb2satxml.py:19
Definition: hdmi_cec.h:76
unsigned char logical
Definition: hdmi_cec.h:77
unsigned char physical[2]
Definition: hdmi_cec.h:78
unsigned char type
Definition: hdmi_cec.h:79
Definition: hdmi_cec.h:69
unsigned char data[256]
Definition: hdmi_cec.h:72
unsigned char length
Definition: hdmi_cec.h:71
unsigned char address
Definition: hdmi_cec.h:70