LibDMRConf  0.6.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
D878UVCodeplug::roaming_zone_t Struct Reference

Represents a roaming zone within the binary codeplug. More...

#include <d878uv_codeplug.hh>

Public Member Functions

QString getName () const
 Returns the name of the roaming zone.
 
void setName (const QString &name)
 Sets the name of the roaming zone.
 
void fromRoamingZone (RoamingZone *zone, const QHash< DigitalChannel *, int > &map)
 Assembles a binary representation of the given RoamingZone instance.
 
RoamingZonetoRoamingZone ()
 Constructs a RoamingZone instance from this configuration.
 
bool linkRoamingZone (RoamingZone *zone, CodeplugContext &ctx)
 Links the given RoamingZone.
 

Public Attributes

uint8_t channels [64]
 List of roaming channel indices 0-based, 0xff=unused/end-of-list.
 
uint8_t name [16]
 Roaming zone name, 16b ASCII 0x00 padded.
 
uint8_t _unused80 [48]
 Unused, set to 0x00.
 

Detailed Description

Represents a roaming zone within the binary codeplug.

Memmory layout of roaming zone (0x80byte):

     0                               8                               16                              24
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
00 | Roaming Channel Index 0       | Roaming Channel Index 1       | Roaming Channel Index 2       | Roaming Channel Index 3    ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
3c  ... Roaming Channel Index 60   | Roaming Channel Index 61      | Roaming Channel Index 62      | Roaming Channel Index 63      |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
40 | Channel name, 16b ASCII, 0x00 padded                                                                                       ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
4c  ...                                                                                                                            |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
50 | 48 bytes unused, set to 0x00                                                                                               ...
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
7c  ...                                                                                                                            |
   +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

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