cec: ensure that the ackmask is always set to 0 when closing the connection and that...
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.h
index 3a9ba515d02be277bd7356855e513ae7c82bf7c6..22c7db9738ee459bcd0b239f7f06165091c03eef 100644 (file)
@@ -68,9 +68,12 @@ namespace CEC
     virtual bool SetControlledMode(bool controlled);
     virtual bool PersistConfiguration(libcec_configuration * UNUSED(configuration)) { return false; } // TODO
     virtual CStdString GetPortName(void);
+    virtual uint16_t GetPhysicalAddress(void) { return 0; }
 
     void *Process(void);
   private:
+    bool SetAckMaskInternal(uint16_t iMask, bool bWriteDirectly = false);
+
     bool CheckAdapter(uint32_t iTimeoutMs = 10000);
     bool Write(CCECAdapterMessage *data);
     bool Read(CCECAdapterMessage &msg, uint32_t iTimeout = 1000);