All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.divpundir.mavlink.connection.udp.UdpClientMavConnection.kt Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package com.divpundir.mavlink.connection.udp

import com.divpundir.mavlink.api.MavDialect
import com.divpundir.mavlink.connection.MavConnection

/**
 * A [MavConnection] that acts as a UDP client endpoint.
 */
public interface UdpClientMavConnection : MavConnection

/**
 * Creates a [UdpClientMavConnection] that connects to the specified [host] and [port].
 *
 * For connecting, pings the remote server with 32 bytes of data to let the remote server know its address.
 */
public expect fun UdpClientMavConnection(
    host: String,
    port: Int,
    dialect: MavDialect
): UdpClientMavConnection




© 2015 - 2024 Weber Informatics LLC | Privacy Policy