|
libdrmconf 0.14.0
A library to program DMR radios.
|
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] | ||
| }; | ||
Value response.
| uint8_t DM32UVInterface::ValueResponse::length |
THe length of the payload.
The format depends on the value being read.