Replies: 4 comments 3 replies
-
It is possible, but the challenge is that when using the serial port, it is not clear where the message starts and ends. A would love to add a native plugin, but that aspect of the protocol should be defined first |
Beta Was this translation helpful? Give feedback.
-
Ciao Davide, I think that we could make a decision based on a maximum-likelihood usage and keep it bare-bones. I propose two solutions:
I don't think we need more complexity than that and yet we can cover zillions of use-cases. What do you think? |
Beta Was this translation helpful? Give feedback.
-
I will not make this an official driver. First, I would like to support binary format too, in particular in a bandwidth constrained channel like the serial port. At the architectural level, transport mechanism is orthogonal to protocol. The only requirement of the transport mechanism is to be message based. I am not against creating some solution that may make users like you happy, but since this is not interesting for me in this very moment, I will not devote time to it. |
Beta Was this translation helpful? Give feedback.
-
COBS works well for packet framing, here's an implementation https://github.com/charlesnicholson/nanocobs |
Beta Was this translation helpful? Give feedback.
-
Is it possible to plot datastream coming from the serial port? I have a MCU connected to the serial port that stream data read from a sensor towards my macbook and I would like to plot them in real-time.
At the moment the easiest it to use a python script to convert the received data from the serial port to some data stream readable by plotjuggler (e.g. UDP), but I am wondering if there is a native/plugin solution.
Beta Was this translation helpful? Give feedback.
All reactions