|
libdrmconf 0.14.1
A library to program DMR radios.
|
Implements the timestamp for RD-5R codeplugs. More...
#include <rd5r_codeplug.hh>


Classes | |
| struct | Offset |
| Internal offsets within the element. More... | |
Static Public Member Functions | |
| static constexpr unsigned int | size () |
| The size of the element. | |
Protected Member Functions | |
| TimestampElement (uint8_t *ptr, unsigned size) | |
| Hidden constructor. | |
Implements the timestamp for RD-5R codeplugs.
Encoding of messages (size: 0x0006b):
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 | Year, 4xBCD, big-endian | Month 2xBCD | Day 2xBCD | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 04 | Hour, 2xBCD | Minute, 2xBCD | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+