12 #include "dr1801uv_interface.hh"
13 #include "dr1801uv_codeplug.hh"
14 #include "dr1801uv_limits.hh"
31 const QString &
name()
const;
47 virtual bool download();
48 virtual bool upload();
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:25
This class defines the interface all device-specific code-plugs must implement.
Definition: codeplug.hh:19
The config class, representing the codeplug configuration.
Definition: config.hh:70
Implements the binary codeplug representation of a BTECH DR-1801UV (a.k.a, BF-1801-A6).
Definition: dr1801uv_codeplug.hh:64
Implements the actual interface to the DR-1801UV, which builds upon the AuctusA6Interface.
Definition: dr1801uv_interface.hh:15
Implements the BTECH DR-1801UV (BF-1801 A6).
Definition: dr1801uv.hh:20
const QString & name() const
Returns the name of the radio (e.g., device identifier).
Definition: dr1801uv.cc:27
Config * _config
The generic configuration.
Definition: dr1801uv.hh:58
DR1801UVCodeplug _codeplug
The binary codeplug.
Definition: dr1801uv.hh:56
DR1801UV(DR1801UVInterface *device=nullptr, QObject *parent=nullptr)
Constructs a new instance representig a DR-1801UV.
Definition: dr1801uv.cc:8
QString _name
Holds the device name, once it got identified.
Definition: dr1801uv.hh:54
DR1801UVInterface * _device
Owns the interface to the device.
Definition: dr1801uv.hh:52
Codeplug::Flags _codeplugFlags
Some codeplug flags.
Definition: dr1801uv.hh:60
void run()
Thread main routine, performs all blocking IO operations for codeplug up- and download.
Definition: dr1801uv.cc:102
static RadioInfo defaultRadioInfo()
Retunrs the default radio info.
Definition: dr1801uv.cc:19
bool startDownload(bool blocking, const ErrorStack &err)
Starts the download of the codeplug.
Definition: dr1801uv.cc:49
const RadioLimits & limits() const
Returns the limits for this radio.
Definition: dr1801uv.cc:42
bool startUploadCallsignDB(UserDatabase *db, bool blocking, const CallsignDB::Selection &selection, const ErrorStack &err)
Assembles the callsign DB from the given one and uploads it to the device.
Definition: dr1801uv.cc:95
const Codeplug & codeplug() const
Returns the codeplug instance.
Definition: dr1801uv.cc:32
bool startUpload(Config *config, bool blocking, const Codeplug::Flags &flags, const ErrorStack &err)
Derives the device-specific codeplug from the generic configuration and uploads that codeplug to the ...
Definition: dr1801uv.cc:71
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition: errorstack.hh:41
Provides some information about a radio model.
Definition: radioinfo.hh:16
Represents the limits or the entire codeplug.
Definition: radiolimits.hh:684
Base class for all Radio objects.
Definition: radio.hh:32
Auto-updating DMR user database.
Definition: userdatabase.hh:23