Package-level declarations

Types

Link copied to clipboard

A MavConnection that acts as a UDP client endpoint.

Link copied to clipboard

A MavConnection that acts as a UDP server endpoint.

Functions

Link copied to clipboard
expect fun UdpClientMavConnection(host: String, port: Int, dialect: <Error class: unknown class>): UdpClientMavConnection

Creates a UdpClientMavConnection that connects to the specified host and port.

Link copied to clipboard
expect fun UdpServerMavConnection(port: Int, dialect: <Error class: unknown class>): UdpServerMavConnection

Creates a UdpServerMavConnection that listens on the specified port for a 32-byte ping, and connects to the first sender.