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

Represents a single RX group list within the codeplug. More...

#include <rd5r_codeplug.hh>

Public Member Functions

 grouplist_t ()
 Constructor.
 
void clear ()
 Clears the group list.
 
QString getName () const
 Returns the name of the group list.
 
void setName (const QString &name)
 Sets the name of the group list.
 
RXGroupListtoRXGroupListObj ()
 Constructs a RXGroupList object from the codeplug representation.
 
bool linkRXGroupListObj (int ncnt, RXGroupList *lst, const CodeplugContext &ctx) const
 Links a previously constructed RXGroupList to the rest of the generic configuration.
 
void fromRXGroupListObj (const RXGroupList *lst, const Config *conf)
 Reset this codeplug representation from a RXGroupList object.
 

Public Attributes

uint8_t name [16]
 RX group list name, ASCII, 0xff terminated.
 
uint16_t member [16]
 Contact indices + 1, 0=empty.
 

Detailed Description

Represents a single RX group list within the codeplug.

Memmory layout of the RX group list:

       0                               8                               16                              24
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | Name, 16 ASCII encoded bytes, 0xff terminated                                                                              ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
000c  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0010 | Contact 00 index +1, 0 end of list                            | Contact 01 index +1                                           |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
      ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
002c | Contact 14 index +1                                           | Contact 15 index +1                                           |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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