|
libdrmconf
0.11.3
A library to program DMR radios.
|
Implements the air-band receiver channel. More...
#include <d578uv_codeplug.hh>


Classes | |
| struct | Limit |
| Some limits of the channel. More... | |
| struct | Offset |
| Internal used offsets within the element. More... | |
Public Member Functions | |
| AirBandChannelElement (uint8_t *ptr) | |
| Constructor. | |
| void | clear () |
| Resets the element. | |
| virtual Frequency | frequency () const |
| The channel frequency. | |
| virtual void | setFrequency (Frequency freq) |
| Sets the channel frequency. | |
| virtual QString | name () const |
| The name of the channel. | |
| virtual void | setName (const QString &name) |
| Sets the name of the channel. | |
Static Public Member Functions | |
| static constexpr unsigned int | size () |
| The size of the element. | |
Protected Member Functions | |
| AirBandChannelElement (uint8_t *ptr, size_t size) | |
| Hidden constructor. | |
Implements the air-band receiver channel.
Memory layout of the air-band channel list (size 0x0020 bytes):
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 | Frequency, 8 digit BCD, big-endian |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0004 | Name 16 x ASCII, 0-padded and terminated ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0010 ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0014 | Unused, filled with 0x00 ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
001c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+