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

Methods to read manufacturer codeplug files. More...

#include <dr1801uv_filereader.hh>

Static Public Member Functions

static bool read (const QString &filename, DR1801UVCodeplug *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.

Member Function Documentation

◆ read()

bool DR1801UVFileReader::read ( const QString &  filename,
DR1801UVCodeplug 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.
errOn error, contains an error message.
Returns
true on success and false on error.

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