libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
OpenGD77Interface::ReadRequest Struct Reference

Represents a read message. More...

#include <opengd77_interface.hh>

Public Types

enum  Command {
  READ_FLASH = 1 , READ_EEPROM = 2 , READ_MCU_ROM = 5 , READ_DISPLAY_BUFFER = 6 ,
  READ_WAV_BUFFER = 7 , READ_AMBE_BUFFER = 8 , READ_FIRMWARE_INFO = 9
}
 Possible read sources.

Public Member Functions

bool initReadFlash (uint32_t address, uint16_t length)
 Constructs a FLASH read message.
bool initReadEEPROM (uint32_t address, uint16_t length)
 Constructs an EEPROM read message.
bool initReadFirmwareInfo ()
 Constructs a firmware-info read message.

Public Attributes

char type
 'R' read block, 'W' write block, 'C' command.
uint8_t command
 Memory to read from, FLASH, EEPROM, ROM, etc.
uint32_t address
 Memory address to read from in big endian.
uint16_t length
 Amount of data to read in big endian.

Detailed Description

Represents a read message.

Member Data Documentation

◆ command

uint8_t OpenGD77Interface::ReadRequest::command

Memory to read from, FLASH, EEPROM, ROM, etc.

See also
OpenGD77Internface::ReadReqest::Command.

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