canboat 9.1.0

NMEA 2000 decoding, encoding and live-bus access: the CANboat PGN database as a library, plus the canboat CLI (convert / interface / server / tui).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// (C) 2009-2026, Kees Verruijt, Harlingen, The Netherlands.

//! Actisense BST-D0 (a W2K-1 or PRO-NDC-1E2K in Actisense mode, over
//! TCP) runner: the sans-I/O [`crate::engine::codec::bst_d0`] codec
//! on a reader and a writer thread.

use std::io::{Read, Write};

use crate::engine::codec::bst_d0::BstD0;

use super::DeviceHandle;

/// Start the reader/writer threads. See [`super::run`].
pub fn run(reader: Box<dyn Read + Send>, writer: Box<dyn Write + Send>) -> DeviceHandle {
    super::run_codec(BstD0::new(), None, reader, writer)
}