MavConnection
A connection interface with a MAVLink device.
All the methods are blocking and can throw IOException. This is a design decision to keep the interface simple and to allow the user to decide how to handle the blocking calls and the IO errors.
Normally, the users will use wrappers/adapters like the com.divpundir.mavlink.adapters.coroutines which provides a coroutine based api to the underlying connection.
See also
com.divpundir.mavlink.adapters.coroutines.CoroutinesMavConnection
com.divpundir.mavlink.adapters.rxjava2.Rx2MavConnection
com.divpundir.mavlink.adapters.rxjava3.Rx3MavConnection
Inheritors
Functions
Link copied to clipboard
Reads a MAVLink frame from for the underlying connection.
Link copied to clipboard
Link copied to clipboard
Sends the provided payload wrapped in an unsigned MAVLink v2 frame.