1 #ifndef D878UV2CALLSIGNDB_HH
2 #define D878UV2CALLSIGNDB_HH
4 #include "d868uv_callsigndb.hh"
42 static constexpr
unsigned int entries() {
return 500000; }
49 static constexpr
unsigned int callsigns() {
return 0x05500000; }
50 static constexpr
unsigned int limits() {
return 0x04840000; }
Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.
Definition: callsigndb.hh:20
Represents and encodes the binary format for the call-sign database within a AnyTone AT-D868UV radio.
Definition: d868uv_callsigndb.hh:25
Represents and encodes the binary format for the call-sign database within the radio.
Definition: d878uv2_callsigndb.hh:22
D878UV2CallsignDB(QObject *parent=nullptr)
Constructor, does not allocate any memory yet.
Definition: d878uv2_callsigndb.cc:10
D868UVCodeplug::ContactMapElement IndexEntryElement
Same index entry used by the codeplug to map normal digital contacts to an contact index.
Definition: d878uv2_callsigndb.hh:28
bool encode(UserDatabase *db, const Selection &selection=Selection(), const ErrorStack &err=ErrorStack())
Tries to encode as many entries of the given user-database.
Definition: d878uv2_callsigndb.cc:17
Implements a stack of error messages to provide a pretty formatted error traceback.
Definition: errorstack.hh:41
Auto-updating DMR user database.
Definition: userdatabase.hh:23
Some limits for the call-sign DB.
Definition: d868uv_callsigndb.hh:169
Some internal used offsets within the DB.
Definition: d868uv_callsigndb.hh:176
Some limits of the call-sign DB.
Definition: d878uv2_callsigndb.hh:40
static constexpr unsigned int entries()
Specifies the max number of entries in the call-sign DB. */.
Definition: d878uv2_callsigndb.hh:42
Some internal offsets within the call-sign DB.
Definition: d878uv2_callsigndb.hh:47