XbeeLinkInterface.h 602 Bytes
Newer Older
Franz's avatar
Franz committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef XBEELINKINTERFACE_H_
#define XBEELINKINTERFACE_H_

#include <QObject>
#include <QString>
#include <LinkInterface.h>

class XbeeLinkInterface : public LinkInterface
{
    Q_OBJECT

public:
    virtual QString getPortName() = 0;
    virtual int getBaudRate() = 0;

public slots:
    virtual bool setPortName(QString portName) = 0;
    virtual bool setBaudRate(int rate) = 0;
oberion's avatar
oberion committed
19 20 21 22 23 24
	virtual bool setRemoteAddressHigh(quint32 high) = 0;
	virtual bool setRemoteAddressLow(quint32 low) = 0;

signals:
	void tryConnectBegin(bool toTrue);
	void tryConnectEnd(bool toTrue);
Franz's avatar
Franz committed
25 26 27
};

#endif // XBEELINKINTERFACE_H_