libdrmconf
0.10.4
A library to program DMR radios.
|
Binary representation of a read response from the radio. More...
#include <anytone_interface.hh>
Public Member Functions | |
bool | check (uint32_t addr, QString &msg) const |
Check the response, returns true if read request was successful. More... | |
Public Attributes | |
char | cmd |
Fixed to 'W'. | |
uint32_t | addr |
Memory address in big-endian. | |
uint8_t | size |
Fixed to 16. | |
char | data [16] |
The actual data. | |
uint8_t | sum |
Sum over address, size and data. | |
uint8_t | ack |
Fixed to 0x06. | |
Binary representation of a read response from the radio.
bool AnytoneInterface::ReadResponse::check | ( | uint32_t | addr, |
QString & | msg | ||
) | const |
Check the response, returns true
if read request was successful.
addr | The read address to verify. |
msg | On error, contains a message describing the issue. |