|
libdrmconf 0.12.1
A library to program DMR radios.
|
Represents a single scan list within the GD77 codeplug. More...
#include <gd77_codeplug.hh>


Public Member Functions | |
| ScanListElement (uint8_t *ptr) | |
| Constructor. | |
| void | clear () |
| Resets the scan list. | |
Protected Member Functions | |
| ScanListElement (uint8_t *ptr, unsigned size) | |
| Hidden constructor. | |
Represents a single scan list within the GD77 codeplug.
Encoding of scan list (size: 0x58b):
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 | Name, 15 ASCII encoded bytes, 0xff terminated ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
000c ... |TKB| PLT |ChM| 0 0 0 1 |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0010 | Channel 00 index +1, 0=EOL, little-endian | Channel 01 index +1, little-endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
004c | Channel 30 index +1, little-endian | Channel 31 index +1, little-endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0050 | Priority Channel 1, index+2, 0=None, 1=Current, little-endian | Priority Channel 2, index+2, 0=None, 1=Current, little-endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0054 | TX Channel, index+2, 0=last active, 1=Current, little-endian | Sig. hold time N x 25ms | Pri. sample time N x 250ms |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
where
ChM = Channel mark; PLT = PL type; TKB = Talkback