libdrmconf 0.12.1
A library to program DMR radios.
|
Represents an RX group list within the codeplug. More...
#include <gd77_codeplug.hh>
Classes | |
struct | Limit |
Some limits for the group list. More... | |
Public Member Functions | |
GroupListElement (uint8_t *ptr) | |
Constructor. | |
virtual bool | linkRXGroupListObj (unsigned int ncnt, RXGroupList *lst, Context &ctx, const ErrorStack &err=ErrorStack()) const |
virtual bool | fromRXGroupListObj (const RXGroupList *lst, Context &ctx, const ErrorStack &err=ErrorStack()) |
Static Public Member Functions | |
static constexpr unsigned int | size () |
The size of the element. | |
Protected Member Functions | |
GroupListElement (uint8_t *ptr, unsigned size) | |
Hidden constructor. | |
Represents an RX group list within the codeplug.
The group list is encoded as (size 0x50b):
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 +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 00 | Name, 16 x ASCII, 0xff terminated ... +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 0c ... | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 10 | Member 00 index (0=disabled), little-endian | Member 01 index, little-endian | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... ... +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 4c | Member 1e index, little-endian | Member 1f index, little-endian | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+