libdrmconf 0.14.1
A library to program DMR radios.
Loading...
Searching...
No Matches
DM32UVInterface::ValueResponse Struct Reference

Value response. More...

#include <dm32uv_interface.hh>

Public Member Functions

bool receive (DM32UVInterface *dev, const ErrorStack &err=ErrorStack())
 Receive response though the given interface.
QString string () const
 Extracts a string from the response payload.
uint32_t lowerMemoryBound () const
 Extracts the lower memory bound.
uint32_t upperMemoryBound () const
 Extracts the upper memory bound.

Public Attributes

char response_type
 The received response code, should be 'V'.
uint8_t valueId
 The value ID read.
uint8_t length
 THe length of the payload.
union { 
   struct { 
      uint32_t   lower 
 Lower bound in little endian.
      uint32_t   upper 
 Upper bound (inclusive) in little endian.
   }   memory
 A memory range.
   uint8_t   payload [255] 
}; 

Detailed Description

Value response.

Member Data Documentation

◆ length

uint8_t DM32UVInterface::ValueResponse::length

THe length of the payload.

The format depends on the value being read.


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