9#include "opengd77_interface.hh"
10#include "opengd77_satelliteconfig.hh"
Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.
Definition callsigndb.hh:20
Certain flags passed to CodePlug::encode to control the transfer and encoding of the codeplug.
Definition codeplug.hh:26
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:41
Implements the satellite tracking configuration for the OpenGD77 type radios.
Definition opengd77base_satelliteconfig.hh:15
bool startUpload(Config *config, bool blocking=false, 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:65
Config * _config
The generic configuration.
Definition opengd77base.hh:61
const RadioLimits & limits() const
Returns the limits for this radio.
Definition opengd77base.cc:33
OpenGD77Base(OpenGD77Interface *device=nullptr, QObject *parent=nullptr)
Do not construct this class directly, rather use Radio::detect.
Definition opengd77base.cc:12
void run()
Thread main routine, performs all blocking IO operations for codeplug up- and download.
Definition opengd77base.cc:163
bool download()
Implements the actual download process.
Definition opengd77base.cc:250
bool startUploadCallsignDB(UserDatabase *db, bool blocking=false, const CallsignDB::Selection &selection=CallsignDB::Selection(), const ErrorStack &err=ErrorStack())
Encodes the given user-database and uploades it to the device.
Definition opengd77base.cc:102
bool startDownload(bool blocking=false, const ErrorStack &err=ErrorStack())
Starts the download of the codeplug and derives the generic configuration from it.
Definition opengd77base.cc:41
bool upload()
Implements the actual codeplug upload process.
Definition opengd77base.cc:300
OpenGD77BaseSatelliteConfig * _satelliteConfig
The encoded eatellite configuraiton.
Definition opengd77base.hh:63
OpenGD77Interface * _dev
The interface to the radio.
Definition opengd77base.hh:59
bool uploadSatellites()
Implements the actual satellite config upload process.
Definition opengd77base.cc:417
bool uploadCallsigns()
Implements the actual callsign DB upload process.
Definition opengd77base.cc:377
static RadioInfo defaultRadioInfo()
Returns the default radio information.
Implements the interfact 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:694
Radio(QObject *parent=nullptr)
Default constructor.
Definition radio.cc:35
A table holding all known satellites.
Definition satellitedatabase.hh:108
Auto-updating DMR user database.
Definition userdatabase.hh:23