LibDMRConf
0.5.0
A library to program DMR radios.
|
Represents a sinle scan list within the codeplug. More...
#include <gd77_codeplug.hh>
Public Types | |
enum | PriorityType { PL_NONPRI = 0, PL_DISABLE = 1, PL_PRI = 2, PL_PRI_NONPRI = 3 } |
Possible priority channel types. More... | |
Public Member Functions | |
scanlist_t () | |
Constructor. | |
void | clear () |
Resets the scan list. | |
QString | getName () const |
Returns the name of the scan list. | |
void | setName (const QString &name) |
Sets the name of the scan list. | |
ScanList * | toScanListObj () const |
Constrcuts a ScanList object from this codeplug representation. | |
bool | linkScanListObj (ScanList *lst, const CodeplugContext &ctx) const |
Links a previously constructed ScanList object to the rest of the generic configuration. | |
void | fromScanListObj (const ScanList *lst, const Config *conf) |
Initializes this codeplug representation from the given ScanList object. | |
Public Attributes | |
uint8_t | name [15] |
Scan list name, ASCII, 0xff terminated. | |
uint8_t | _unused: 4 |
Unknown set to 1. | |
uint8_t | channel_mark: 1 |
Channel mark, default 1. | |
uint8_t | pl_type: 2 |
PL type, default 3. | |
uint8_t | talkback: 1 |
Talkback, default 1. | |
uint16_t | member [32] |
Channel indices, 0=not used/EOL or channel index+2. | |
uint16_t | priority_ch1 |
Priority channel 1 index, index+2 or 0=None, 1=selected. | |
uint16_t | priority_ch2 |
Priority channel 2 index, index+2 or 0=None, 1=selected. | |
uint16_t | tx_designated_ch |
Designated TX channel, channel index+1 or 0=last active channel. | |
uint8_t | sign_hold_time |
Signaling Hold Time (x25 = msec) default 40=1000ms. | |
uint8_t | prio_sample_time |
Priority Sample Time (x250 = msec) default 8=2000ms. | |
Represents a sinle scan list within the codeplug.