libdrmconf
0.12.0
A library to program DMR radios.
|
Methods to read manufacturer codeplug files. More...
#include <gd77_filereader.hh>
Static Public Member Functions | |
static bool | read (const QString &filename, GD77Codeplug *codeplug, const ErrorStack &err=ErrorStack()) |
Reads manufacturer codeplug file into given codeplug object. More... | |
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 |
|
static |
Reads manufacturer codeplug file into given codeplug object.
filename | Specifies the file to read. |
codeplug | Specifies the codeplug object to store read codeplug. |
err | The error stack. |
true
on success and false
on error.