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

Methods to read manufacturer codeplug files. More...

#include <rd5r_filereader.hh>

Static Public Member Functions

static bool read (const QString &filename, RD5RCodeplug *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
0x00080 0x07c00 0x07b80
0x08000 0x1e300 0x16300

Member Function Documentation

◆ read()

bool RD5RFileReader::read ( const QString &  filename,
RD5RCodeplug 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.
errError stack.
Returns
true on success and false on error.

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