Binary representation of a write request to the radio.
More...
#include <anytone_interface.hh>
|
| | WriteRequest (uint32_t addr, const char *data) |
| | Assembles a write request message to the given address with the given data.
|
|
|
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.
◆ WriteRequest()
| AnytoneInterface::WriteRequest::WriteRequest |
( |
uint32_t | addr, |
|
|
const char * | data ) |
Assembles a write request message to the given address with the given data.
- Parameters
-
| addr | Specifies the address to write to. |
| data | 16 bytes of payload. |
The documentation for this struct was generated from the following files:
- /builddir/build/BUILD/qdmr-0.14.1-build/qdmr-0.14.1/lib/anytone_interface.hh
- /builddir/build/BUILD/qdmr-0.14.1-build/qdmr-0.14.1/lib/anytone_interface.cc