MAVLink FTP MAVLink v1/v2 FILE_TRANSFER_PROTOCOL (msg 110)

File transfer nested inside a normal MAVLink message: every FTP packet, of whatever kind, is the SAME outer message type, distinguished only by an inner opcode/offset/session sub-header.

Servers

Operations

  • PUB omniuart/cmd/FTP_OpenFileRO

    Send command FTP_OpenFileRO (ID: 0x04)

    Opens a file for reading; the ack (FTP_Ack) returns a session id that scopes every subsequent read against this open file.

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    FTP_OpenFileRO Command
    object

    Opens a file for reading; the ack (FTP_Ack) returns a session id that scopes every subsequent read against this open file.

    Examples

  • PUB omniuart/cmd/FTP_BurstReadFile

    Send command FTP_BurstReadFile (ID: 0x0F)

    Requests the server stream the file from offset onward, without individual acks per chunk, until burstComplete is set on the final FTP_Ack.

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    FTP_BurstReadFile Command
    object

    Requests the server stream the file from offset onward, without individual acks per chunk, until burstComplete is set on the final FTP_Ack.

    Examples

  • SUB omniuart/telemetry/FTP_Ack

    Unsolicited telemetry message FTP_Ack (ID: 0x80)

    Every burst-read data packet is this same message, distinguished only by offset (where this chunk goes) and burstComplete (whether more are coming) -- there is no separate 'initial'/'follow-on' message name the way G460 or XMODEM have.

    Operation IDsubscribe

    Available only on servers:

    Accepts the following message:

    FTP_Ack Telemetry
    object

    Every burst-read data packet is this same message, distinguished only by offset (where this chunk goes) and burstComplete (whether more are coming) -- there is no separate 'initial'/'follow-on' message name the way G460 or XMODEM have.

    Examples

  • SUB omniuart/telemetry/FTP_Nak

    Unsolicited telemetry message FTP_Nak (ID: 0x81)

    Unsolicited telemetry message from device: FTP_Nak

    Operation IDsubscribe

    Available only on servers:

    Accepts the following message:

    FTP_Nak Telemetry
    object

    Device-initiated telemetry payload for FTP_Nak

    Examples

Schemas

  • object

    Opens a file for reading; the ack (FTP_Ack) returns a session id that scopes every subsequent read against this open file.

  • object

    Requests the server stream the file from offset onward, without individual acks per chunk, until burstComplete is set on the final FTP_Ack.

  • object

    Every burst-read data packet is this same message, distinguished only by offset (where this chunk goes) and burstComplete (whether more are coming) -- there is no separate 'initial'/'follow-on' message name the way G460 or XMODEM have.

  • object

    Device-initiated telemetry payload for FTP_Nak