|
LibDMRConf
0.5.0
A library to program DMR radios.
|
Represents a single message within the codeplug. More...
#include <uv390_codeplug.hh>
Public Member Functions | |
| message_t () | |
| Constructor. | |
| void | clear () |
| Resets the message. | |
| bool | isValid () const |
Returns true if the message is valid. | |
| QString | getText () const |
| Returns the message text. | |
| void | setText (const QString text) |
| Sets the message text. | |
Public Attributes | |
| uint16_t | text [144] |
| Message text (144 x 16bit Unicode), 0-terminated. | |
Represents a single message within the codeplug.
Memmory layout of encoded message:
0 8 16 24
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
0000 | Message text, 144 x 16 bit unicode text, 0x00 terminated ...
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
011c ... |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
1.8.17