libdrmconf  0.12.0
A library to program DMR radios.
Public Member Functions | Public Attributes | List of all members
DR1801UVInterface::PrepareWriteRequest Struct Reference

Request to prepare a codeplug write. More...

#include <dr1801uv_interface.hh>

Public Member Functions

 PrepareWriteRequest (uint32_t size, uint32_t speed, uint16_t crc)
 Constructor.
 
void updateCRC (const uint8_t *data, size_t length)
 Updates the crc with the data.
 

Public Attributes

uint16_t _unknown0
 Just set to 0x0001.
 
uint32_t size
 Contains the size of the codeplug in big-endian.
 
uint16_t checksum
 A checksum over the codeplug to be written.
 
uint32_t baudRate
 The baud rate for the transfer.
 

Detailed Description

Request to prepare a codeplug write.

Contains some information about the codeplug to write and transfer speed to use.


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