11#include "opengd77_interface.hh"
12#include "opengd77_satelliteconfig.hh"
13#include "satellitedatabase.hh"
Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.
Definition callsigndb.hh:22
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug.
Definition codeplug.hh:24
The config class, representing the codeplug configuration.
Definition config.hh:70
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition errorstack.hh:43
Implements the satellite tracking configuration for the OpenGD77 type radios.
Definition opengd77base_satelliteconfig.hh:15
Config * _config
The generic configuration.
Definition opengd77base.hh:64
const RadioLimits & limits() const
Returns the limits for this radio.
Definition opengd77base.cc:35
bool startUpload(Config *config, const Codeplug::Flags &flags=Codeplug::Flags(), const ErrorStack &err=ErrorStack())
Derives the device-specific codeplug from the generic configuration and uploads that codeplug to the ...
Definition opengd77base.cc:67
TransferFlags _flags
Transfer flags.
Definition opengd77base.hh:62
OpenGD77Base(OpenGD77Interface *device=nullptr, QObject *parent=nullptr)
Do not construct this class directly, rather use Radio::detect.
Definition opengd77base.cc:14
void run()
Thread main routine, performs all blocking IO operations for codeplug up- and download.
Definition opengd77base.cc:165
bool download()
Implements the actual download process.
Definition opengd77base.cc:251
bool upload()
Implements the actual codeplug upload process.
Definition opengd77base.cc:305
bool startUploadCallsignDB(UserDatabase *db, const CallsignDB::Flags &selection=CallsignDB::Flags(), const ErrorStack &err=ErrorStack())
Encodes the given user-database and uploads it to the device.
Definition opengd77base.cc:105
QPointer< SatelliteDatabase > _satelliteDatabase
The satellite configuration.
Definition opengd77base.hh:66
bool startDownload(const TransferFlags &flags, const ErrorStack &err=ErrorStack())
Starts the download of the codeplug and derives the generic configuration from it.
Definition opengd77base.cc:43
OpenGD77Interface * _dev
The interface to the radio.
Definition opengd77base.hh:60
bool uploadSatellites()
Implements the actual satellite config upload process.
Definition opengd77base.cc:439
bool uploadCallsigns()
Implements the actual callsign DB upload process.
Definition opengd77base.cc:393
static RadioInfo defaultRadioInfo()
Returns the default radio information.
Implements the interface to a radio running the Open GD77 firmware.
Definition opengd77_interface.hh:155
Provides some information about a radio model.
Definition radioinfo.hh:16
Represents the limits or the entire codeplug.
Definition radiolimits.hh:755
Radio(QObject *parent=nullptr)
Default constructor.
Definition radio.cc:35
A table holding all known satellites.
Definition satellitedatabase.hh:108
Controls the transfer of codeplugs, callsign DBs etc to the device.
Definition transferflags.hh:7
Auto-updating DMR user database.
Definition userdatabase.hh:24