/**************************************************************************** * * (c) 2019 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ****************************************************************************/#pragma once#include "MicrohardHandler.h"classMicrohardSettings:publicMicrohardHandler{Q_OBJECTpublic:explicitMicrohardSettings(QStringaddress,QObject*parent=nullptr,boolsetEncryptionKey=false);boolstart()override;voidgetStatus();voidsetEncryptionKey(QStringkey);boolloggedIn(){return_loggedIn;}protectedslots:void_readBytes()override;signals:voidupdateRSSI(intrssi);private:bool_loggedIn;int_rssiVal;QString_address;bool_setEncryptionKey;};