libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
OpenGD77Codeplug Class Reference

Represents, encodes and decodes the device specific codeplug for Open GD-77 firmware. More...

#include <opengd77_codeplug.hh>

Inheritance diagram for OpenGD77Codeplug:
Collaboration diagram for OpenGD77Codeplug:

Classes

struct  ImageIndex
 Internal used image indices. More...
struct  Limit
 Some Limits for this codeplug. More...
struct  Offset
 Some offsets. More...

Public Member Functions

 OpenGD77Codeplug (QObject *parent=nullptr)
 Constructs an empty codeplug for the GD-77.
void clearGeneralSettings ()
bool encodeGeneralSettings (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool decodeGeneralSettings (Context &ctx, const ErrorStack &err=ErrorStack())
void clearDTMFSettings ()
bool encodeDTMFSettings (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool decodeDTMFSettings (Context &ctx, const ErrorStack &err=ErrorStack())
void clearAPRSSettings ()
bool encodeAPRSSettings (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool decodeAPRSSettings (Context &ctx, const ErrorStack &err=ErrorStack())
void clearContacts ()
bool encodeContacts (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool createContacts (Context &ctx, const ErrorStack &err=ErrorStack())
void clearDTMFContacts ()
bool encodeDTMFContacts (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool createDTMFContacts (Context &ctx, const ErrorStack &err=ErrorStack())
void clearChannels ()
bool encodeChannels (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool createChannels (Context &ctx, const ErrorStack &err=ErrorStack())
bool linkChannels (Context &ctx, const ErrorStack &err=ErrorStack())
void clearBootSettings ()
bool encodeBootSettings (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool decodeBootSettings (Context &ctx, const ErrorStack &err=ErrorStack())
void clearVFOSettings ()
void clearZones ()
bool encodeZones (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool createZones (Context &ctx, const ErrorStack &err=ErrorStack())
bool linkZones (Context &ctx, const ErrorStack &err=ErrorStack())
void clearGroupLists ()
bool encodeGroupLists (const Flags &flags, Context &ctx, const ErrorStack &err=ErrorStack())
bool createGroupLists (Context &ctx, const ErrorStack &err=ErrorStack())
bool linkGroupLists (Context &ctx, const ErrorStack &err=ErrorStack())

Detailed Description

Represents, encodes and decodes the device specific codeplug for Open GD-77 firmware.

This codeplug is almost identical to the original GD77 codeplug.

Codeplug structure within radio

The memory representation of the codeplug within the radio is divided into two images (EEPROM and Flash) and each image again into two sections.

The first segment of the EEPROM image starts at the address 0x000e0 and ends at 0x06000, while the second EEPROM section starts at 0x07500 and ends at 0x0b000.

The first segment of the Flash image starts at the address 0x00000 and ends at 0x011a0, while the second Flash section starts at 0x7b000 and ends at 0x8ee60.

StartEndSizeContent
First EEPROM segment 0x000e0-0x06000
0x000e00x000ec0x000cGeneral settings, see RadioddityCodeplug::GeneralSettingsElement.
0x000ec0x001280x003c??? Unknown ???
0x001280x013700x124832 message texts, see RadioddityCodeplug::MessageBankElement.
0x013700x017900x0420??? Unknown ???
0x017900x02dd00x164064 scan lists, see GD77Codeplug::ScanListBankElement, GD77Codeplug::ScanListElement.
0x02dd00x02f880x01b8??? Unknown ???
0x02f880x033880x0400DTMF contacts, see RadioddityCodeplug::DTMFContactElement.
0x033880x037800x03f8??? Unknown ???
0x037800x053900x1c10First 128 channels (bank 0), see RadioddityCodeplug::ChannelBankElement, OpenGD77Codeplug::ChannelElement.
0x053900x060000x0c70??? Unknown ???
Second EEPROM segment 0x07500-0x13000
0x075000x075180x0018??? Unknown ???
0x075180x075380x0020Boot settings, see RadioddityCodeplug::BootSettingsElement.
0x075380x075400x0008Menu settings, see RadioddityCodeplug::MenuSettingsElement.
0x075400x075600x00202 intro lines, RadioddityCodeplug::BootTextElement.
0x075600x075900x0030??? Unknown ???
0x075900x075c80x0038VFO A settings OpenGD77Codeplug::VFOChannelElement
0x075c80x076000x0038VFO B settings OpenGD77Codeplug::VFOChannelElement
0x076000x080100x0a10??? Unknown ???
0x080100x12c100xac00250 zones, see OpenGD77Codeplug::ZoneBankElement, OpenGD77Codeplug::ZoneElement.
0x12c100x130000x03f0??? Unknown ???
First Flash segment 0x00000-0x011a0
0x000000x011a00x11a0??? Unknown ???
Second Flash segment 0x7b000-0x8ee60
0x7b0000x7b1b00x01b0??? Unknown ???
0x7b1b00x876200xc470Remaining 896 channels (bank 1-7), see RadioddityCodeplug::ChannelBankElement and OpenGD77Codeplug::ChannelElement.
0x876200x8d6200x60001024 contacts, see OpenGD77Codeplug::ContactElement.
0x8d6200x8e2a00x0c8076 RX group lists, see GD77Codeplug::GroupListBankElement, GD77Codeplug::GroupListElement.
0x8e2a00x8ee600x0bc0??? Unknown ???

The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/opengd77_codeplug.hh
  • /builddir/build/BUILD/qdmr-0.12.1-build/qdmr-0.12.1/lib/opengd77_codeplug.cc