libdrmconf 0.14.0
A library to program DMR radios.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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: