libdrmconf 0.14.0
A library to program DMR radios.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
DM32UVInterface::ValueRequest Struct Reference

Value request. More...

#include <dm32uv_interface.hh>

Public Types

enum class  ValueId { FirmwareVersion = 0x1 , BuildDate = 0x3 , MainConfigMemory = 0xa , CallSignDBMemory = 0xf }
 Some possible value IDs.
 

Public Member Functions

 ValueRequest (ValueId valueId)
 Constructor from value ID.
 
 ValueRequest (uint8_t valueId)
 Constructor from raw value ID.
 
bool send (DM32UVInterface *dev, const ErrorStack &err=ErrorStack()) const
 Send request though the given interface.
 

Public Attributes

const char request_type = 'V'
 Static request type.
 
const uint8_t unused [3] = {0x00, 0x00, 0x00}
 Some unknown fields.
 
uint8_t valueId
 The value ID to read.
 

Detailed Description

Value request.

These requests are used to read some global information like address ranges and versions.

Member Data Documentation

◆ unused

const uint8_t DM32UVInterface::ValueRequest::unused[3] = {0x00, 0x00, 0x00}

Some unknown fields.

Likely some flags and length field.


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