| Crates.io | cu-msp-src |
| lib.rs | cu-msp-src |
| version | 0.9.1 |
| created_at | 2025-03-13 16:46:45.961802+00 |
| updated_at | 2025-09-12 20:23:40.200887+00 |
| description | This is the source side of an MSP (Multiwii Serial Protocol) for Copper. |
| homepage | https://github.com/copper-project |
| repository | https://github.com/copper-project/copper-rs |
| max_upload_size | |
| id | 1591137 |
| size | 87,754 |
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.
Example in your Copper configuration file:
tasks: [
(
id: "mspsrc",
type: "cu_msp_src::MSPSrc",
config: {
"device": "/dev/ttyS4",
"baudrate": 1_000_000,
},
),
]
It will feed a MspResponseBatch with all the MspResponses it can read from the serial port at that time.