LibDMRConf  0.5.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
UV390Codeplug::grouplist_t Struct Reference

Representation of an RX group list within the codeplug. More...

#include <uv390_codeplug.hh>

Public Member Functions

 grouplist_t ()
 Constructor.
 
bool isValid () const
 Returns true if the RX group list is valid.
 
void clear ()
 Clears and invalidates the group list.
 
QString getName () const
 Retruns the name of the group list.
 
void setName (const QString &name)
 Sets the name of the group list.
 
RXGroupListtoRXGroupListObj () const
 Constructs a generic RXGroupList from this codeplug group list.
 
bool linkRXGroupList (RXGroupList *obj, Config *conf) const
 Links a previously constructed RX group list to the rest of the generic configuration.
 
void fromRXGroupListObj (const RXGroupList *obj, const Config *conf)
 Initializes this codeplug group list from the given generic RX group list.
 

Public Attributes

uint16_t name [16]
 Group List Name (16 x 16bit Unicode)
 
uint16_t member [32]
 Contacts index list 0-terminated.
 

Detailed Description

Representation of an RX group list within the codeplug.

Memmory layout of encoded RX group list:

     0                               8                               16                              24
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Group List Name 16 x 16bit unicode characters                                                                              ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1c  ...                                                                                                                            |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Member Contact index+1 00                                     |                                                            ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
5c  ...                                                            | Member Contact index+1 31                                     |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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