cec: ping the adapter and request the firmware version in CUSBCECAdapterCommunication...
[deb_libcec.git] / src / lib / adapter / USBCECAdapterCommunication.h
index ee8593fb583b641c81baaad75349cc8c5dd9fe5c..f4fab4b4771dd6c16469727288c7c5c0543a03df 100644 (file)
@@ -69,6 +69,7 @@ namespace CEC
 
     void *Process(void);
   private:
+    bool CheckAdapter(uint32_t iTimeoutMs = 10000);
     bool Write(CCECAdapterMessage *data);
     bool Read(CCECAdapterMessage &msg, uint32_t iTimeout = 1000);
     bool ParseMessage(const CCECAdapterMessage &msg);