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.
44 lines
879 B
44 lines
879 B
#ifndef HONAAPI_H
|
|
#define HONAAPI_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "LowLevel/Setting/Setting.h"
|
|
#include "LowLevel/Exception/HonaAlreadyStartedException.h"
|
|
#include "LowLevel/Exception/HonaException.h"
|
|
#include "LowLevel/Utils/Utils.h"
|
|
#include "LowLevel/HonaLowLevelAPI.h"
|
|
|
|
class HonaAPI : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
private:
|
|
HonaLowLevelAPI _honaLowLevelAPI;
|
|
|
|
public:
|
|
HonaAPI()
|
|
{
|
|
}
|
|
|
|
~HonaAPI()
|
|
{
|
|
}
|
|
|
|
ApiResult deviceReset();
|
|
|
|
ApiResult setConfig(HonaSettings& settings);
|
|
ApiResult getConfig(HonaSettings& settings);
|
|
ApiResult getSwVersion(QString& swVerion);
|
|
ApiResult getDeviceId(QString& deviceId);
|
|
ApiResult hsruStart();
|
|
ApiResult hiruStart();
|
|
ApiResult hsruStop();
|
|
ApiResult init();
|
|
|
|
signals:
|
|
void honaDataResult(QList<HonaPacket> honaPacketList, quint32 hsruLoss, quint32 Doa);
|
|
|
|
};
|
|
|
|
#endif //HONAAPI_H
|
|
|