Public Attributes | List of all members
mavros::std_plugins::FTPRequest::PayloadHeader Struct Reference

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 More...
 
uint32_t offset
 Offsets for List and Read commands. More...
 
uint8_t opcode
 Command opcode. More...
 
uint8_t padding [2]
 32 bit aligment padding More...
 
uint8_t req_opcode
 Request opcode returned in kRspAck, kRspNak message. More...
 
uint16_t seqNumber
 sequence number for message More...
 
uint8_t session
 Session id for read and write commands. More...
 
uint8_t size
 Size of data. More...
 

Detailed Description

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.

Definition at line 52 of file ftp.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 13 2023 02:17:50