This is the payload which is in mavlink_file_transfer_protocol_t.payload. We pad the structure ourselves to 32 bit alignment to avoid usage of any pack pragmas. More...
Public Attributes | |
uint8_t | data [] |
command data, varies by Opcode | |
uint32_t | offset |
Offsets for List and Read commands. | |
uint8_t | opcode |
Command opcode. | |
uint8_t | padding [2] |
32 bit aligment padding | |
uint8_t | req_opcode |
Request opcode returned in kRspAck, kRspNak message. | |
uint16_t | seqNumber |
sequence number for message | |
uint8_t | session |
Session id for read and write commands. | |
uint8_t | size |
Size of data. |
This is the payload which is in mavlink_file_transfer_protocol_t.payload. We pad the structure ourselves to 32 bit alignment to avoid usage of any pack pragmas.