|
libdrmconf
0.10.4
A library to program DMR radios.
|
Binary representation of a write request to the radio. More...
#include <anytone_interface.hh>
Public Member Functions | |
| WriteRequest (uint32_t addr, const char *data) | |
| Assembles a write request message to the given address with the given data. 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 addr, size and data. | |
| uint8_t | ack |
| Fixed to 0x06;. | |
Binary representation of a write request to the radio.
| AnytoneInterface::WriteRequest::WriteRequest | ( | uint32_t | addr, |
| const char * | data | ||
| ) |
Assembles a write request message to the given address with the given data.
| addr | Specifies the address to write to. |
| data | 16 bytes of payload. |