#real-time #middleware #copper

sys cu-msp-src

This is the source side of an MSP (Multiwii Serial Protocol) for Copper

1 unstable release

new 0.7.0 Mar 13, 2025

#35 in #copper


Used in cu-msp-sink

Apache-2.0

110KB
2K SLoC

MSP (MultiWii Serial Protocol) source (reading side)

This component is responsible for reading the MSP (MultiWii Serial Protocol) messages from the serial port.

It can be used standalone or in pair with the MSP sink component for the writing side.

Configuration

Example in your Copper configuration file:

    tasks: [
        (
            id: "mspsrc",
            type: "cu_msp_src::MSPSrc",
            config: {
                "device": "/dev/ttyS4",
                "baudrate": 1_000_000,
            },
        ),
   ]

Output

It will feed a MspResponseBatch with all the MspResponses it can read from the serial port at that time.

Dependencies

~19–32MB
~454K SLoC