libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
GD77Codeplug::GroupListBankElement Class Reference

Table of RX group lists. More...

#include <gd77_codeplug.hh>

Inheritance diagram for GD77Codeplug::GroupListBankElement:
Collaboration diagram for GD77Codeplug::GroupListBankElement:

Classes

struct  Limit
 Some limits for the group list bank. More...
 

Public Member Functions

 GroupListBankElement (uint8_t *ptr)
 Constructor.
 
uint8_t * get (unsigned n) const
 

Static Public Member Functions

static constexpr unsigned int size ()
 The size of the group list bank.
 

Protected Member Functions

 GroupListBankElement (uint8_t *ptr, unsigned size)
 Hidden constructor.
 

Detailed Description

Table of RX group lists.

The RX group list table constsis of a table of number of members per group list and the actual list of RX group lists. The former also acts as a byte map for valid RX group lists. If 0, the group list is disabled, if 1 the group list is empty, etc. So the entry is N+1, where N is the number of entries per group list.

Encoding of group list table:

       7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0   7   6   5   4   3   2   1   0
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | # Members GL 0 (N+1)          | # Members GL 1                | # Members GL 2                | # Members GL 3                |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
      ...                                                                                                                         ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0048 | # Members GL 48               | # Members GL 49               | # Members GL 4a               |  # Members GL 4e              |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
004c | Unused filled with 0                                                                                                       ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
007c  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0080 | RX Group List 0                                                                                                            ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00cc  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
      ...                                                                                                                         ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
17f0 | RX Group List 7e                                                                                                           ...
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
183c  ...                                                                                                                            |
     +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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