libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
OpenGD77BaseCallsignDB::userdb_entry_t Struct Reference

Represents a user-db entry within the binary codeplug. More...

#include <opengd77base_callsigndb.hh>

Public Member Functions

 userdb_entry_t ()
 Constructor.
void clear ()
 Resets the entry.
uint32_t getNumber () const
 Returns the DMR ID number.
void setNumber (uint32_t number)
 Sets the DMR ID number.
QString getName () const
 Returns the name of the entry.
void setName (const QString &name)
 Sets the name of the entry, 15b max.
void fromEntry (const UserDatabase::User &user)
 Encodes the given user.

Public Attributes

uint32_t number
 DMR ID stored in BCD little-endian.
char name [15]
 Call or name, up to 15 ASCII chars, 0x00 padded.

Detailed Description

Represents a user-db entry within the binary codeplug.

Member Function Documentation

◆ setName()

void OpenGD77BaseCallsignDB::userdb_entry_t::setName ( const QString & name)

Sets the name of the entry, 15b max.

The name gets truncated if longer than 15b.


The documentation for this struct was generated from the following file: