1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! A serial-port [`ByteLink`], for a companion computer wired to a flight controller.
//!
//! A Pixhawk-class autopilot speaks MAVLink over a UART, so a companion computer (a Raspberry Pi
//! or similar) reaches it through a serial port at a fixed baud rate. [`SerialLink`] opens such a
//! port on top of `tokio-serial`. It is available behind the `serial` feature, which pulls in the
//! serial-port backend.
use io;
use ;
use ;
use link_fault;
use crateResult;
use crateByteLink;
/// A serial port presented as a [`ByteLink`].