-
Notifications
You must be signed in to change notification settings - Fork 244
Description
Hi,
I was implementing a uart driver for a low power MCU, and I had a hard time with the way the current FramedTransport
work, aka sending the header first and the message buffer second. I simplified my efforts by putting the framed header inside the message buffer in the BasicCodec
, for the FramedTransport
to be able to send everything in one go.
Would that be something you'd be interested in ?
I created my own classes for my Codec
and FramedTransport
implementations, but I could also write that inside the BasicCodec and FramedTransport classes, either with #defines
or with options selectable at runtime.
Regards
Steps you didn't forgot to do
- I checked if there is no related issue opened/closed.
- I checked that there doesn't exist opened/closed PR which is solving this issue.
- I looked in documentation if there is related information.