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

Write request. More...

#include <dm32uv_interface.hh>

Public Member Functions

 WriteRequest (uint32_t address, const QByteArray &payload)
 Constructs a new write request to the given address with the given payload.
 
bool send (DM32UVInterface *dev, const ErrorStack &err=ErrorStack()) const
 Send request though the given interface.
 

Public Attributes

const char request_type = 'W'
 Static request type field.
 
uint8_t _address [3]
 Encodes the 24bit address in little endian.
 
uint16_t _length
 Encodes the 16bit length in little endian.
 
uint8_t _payload [4096]
 Holds the payload.
 

Detailed Description

Write request.


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