libdrmconf  0.12.0
A library to program DMR radios.
Static Public Member Functions | List of all members
GD73FileReader Class Reference

Methods to read manufacturer codeplug files. More...

#include <gd73_filereader.hh>

Static Public Member Functions

static bool read (const QString &filename, GD73Codeplug *codeplug, const ErrorStack &err=ErrorStack())
 Reads manufacturer codeplug file into given codeplug object. More...
 

Detailed Description

Methods to read manufacturer codeplug files.

The file format of the stock CPS is pretty simple. It is a one-to-one dump of the codeplug data as written to the device. This makes the decoding of the manufacturer codeplug files very easy. Some memory regions, however, are not written to the deivice although they are present in the codeplug file.

Start End Size
0x00000 0x22149 0x22149

Member Function Documentation

◆ read()

bool GD73FileReader::read ( const QString &  filename,
GD73Codeplug codeplug,
const ErrorStack err = ErrorStack() 
)
static

Reads manufacturer codeplug file into given codeplug object.

Parameters
filenameSpecifies the file to read.
codeplugSpecifies the codeplug object to store read codeplug.
errThe error stack.
Returns
true on success and false on error.

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