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

Read response. More...

#include <dm32uv_interface.hh>

Public Member Functions

uint32_t address () const
 Unpacks the address.
 
uint16_t length () const
 Unpacks the length.
 
QByteArray payload () const
 Returns the payload as byte array.
 
bool receive (DM32UVInterface *dev, const ErrorStack &err=ErrorStack())
 Receive response though the given interface.
 

Public Attributes

const char response_type = 'W'
 Static respone type field.
 
uint8_t _address [3]
 24bit little endian address.
 
uint16_t _length
 16bit payload length.
 
uint8_t _payload [4096]
 Payload of upto 4096 bytes.
 

Detailed Description

Read response.


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