LibDMRConf  0.5.0
A library to program DMR radios.
Public Attributes | List of all members
D878UVCodeplug::analog_contact_t Struct Reference

Represents an ananlog contact within the binary codeplug. More...

#include <d878uv_codeplug.hh>

Public Attributes

uint8_t number [7]
 Number encoded as BCD little-endian.
 
uint8_t digits
 Number of digits.
 
uint8_t name [16]
 Name, ASCII, upto 16 chars, 0-terminated & padded.
 

Detailed Description

Represents an ananlog contact within the binary codeplug.

Memmory layout of encoded analog contact (48byte):

     0                               8                               16                              24
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Number, 14 digits BCD encoded, litte-endian, 0-padded                                                                      ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
10  ...                                                                                            | Number of digits              |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
20 | Name, 16 x ASCII, 0-padded                                                                                                 ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
24  ...                                                                                                                            |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

The documentation for this struct was generated from the following file: