XbeeLinkInterface.h 614 Bytes
Newer Older
Franz's avatar
Franz committed
1 2 3 4 5 6 7 8 9 10 11 12
#ifndef XBEELINKINTERFACE_H_
#define XBEELINKINTERFACE_H_

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

class XbeeLinkInterface : public LinkInterface
{
    Q_OBJECT

public:
13 14
    virtual QString getPortName() const = 0;
    virtual int getBaudRate() const = 0;
Franz's avatar
Franz committed
15 16 17 18

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_