libdrmconf
0.10.4
A library to program DMR radios.
|
Represents the binary call-sign database header. More...
#include <gd77_callsigndb.hh>
Public Member Functions | |
userdb_t () | |
Constructor. | |
void | clear () |
Resets the header. | |
void | setSize (uint32_t n) |
Sets the number of entries in the call-sign DB. | |
Public Attributes | |
char | magic [8] |
Fixed string 'ID-V001\0'. | |
uint32_t | count |
Number of contacts in DB, 32bit little-endian. | |
Represents the binary call-sign database header.
Memory representation of the call-sign DB header (size: 0x0c bytes):
0 8 +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... + |'I' 'D' '-' 'V' '0' '0' '1' 0 | # entries, LE | Entries ... | +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ ... +