You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
614 B
27 lines
614 B
#ifndef XBEELINKINTERFACE_H_ |
|
#define XBEELINKINTERFACE_H_ |
|
|
|
#include <QObject> |
|
#include <QString> |
|
#include <LinkInterface.h> |
|
|
|
class XbeeLinkInterface : public LinkInterface |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
virtual QString getPortName() const = 0; |
|
virtual int getBaudRate() const = 0; |
|
|
|
public slots: |
|
virtual bool setPortName(QString portName) = 0; |
|
virtual bool setBaudRate(int rate) = 0; |
|
virtual bool setRemoteAddressHigh(quint32 high) = 0; |
|
virtual bool setRemoteAddressLow(quint32 low) = 0; |
|
|
|
signals: |
|
void tryConnectBegin(bool toTrue); |
|
void tryConnectEnd(bool toTrue); |
|
}; |
|
|
|
#endif // XBEELINKINTERFACE_H_
|
|
|