TaisyncSettings.h 1.01 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/****************************************************************************
 *
 *   (c) 2009-2016 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 "TaisyncHandler.h"

class TaisyncSettings : public TaisyncHandler
{
    Q_OBJECT
public:
    explicit TaisyncSettings            (QObject* parent = nullptr);
19 20
    bool    start                       () override;
    bool    requestLinkStatus           ();
21
    bool    requestDevInfo              ();
22
    bool    requestFreqScan             ();
23
    bool    requestVideoSettings        ();
Gus Grubba's avatar
Gus Grubba committed
24
    bool    requestRadioSettings        ();
25 26

signals:
27
    void    updateSettings              (QByteArray jSonData);
28 29 30 31

protected slots:
    void    _readBytes                  () override;

Gus Grubba's avatar
Gus Grubba committed
32 33
private:
    bool    _request                    (const QString& request);
34
};