#ifndef HONAAPI_H #define HONAAPI_H #include #include "LowLevel/Setting/Setting.h" #include "include/LowLevel/Exception/HonaAlreadyStartedException.h" #include "include/LowLevel/Exception/HonaException.h" #include "include/LowLevel/Utils/Utils.h" #include "include/LowLevel/HonaLowLevelAPI.h" class HonaAPI : public QObject { Q_OBJECT private: HonaLowLevelAPI _honaLowLevelAPI; public: HonaAPI() { } ~HonaAPI() { } ApiResult isHsruStarted(); ApiResult isHiruStarted(); 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 honaPacketList, quint32 hsruLoss, quint32 Doa); }; #endif //HONAAPI_H