Packetizer

Hello.

I would like to share a Library i wrote.

Packetizer is a Library to analyze data for a start and/or end condition. If both, start- and end-condition is met the data between start and end is returned via a callback function as raw bytes.

https://github.com/i-n-g-o/Packetizer

It is handy to analyze incoming serial data for a certain start/end condition. e.g.: if serial messages end with 13 10.

I usually use a certain start string for my custom protocol.

Maybe it is useful for somebody else as well.

cheers inx

Would it be an idea to derive packetizer from Serial? or Stream?

I thought about that, but decided against it in order to have it also independend of Arduino-lib and only let it do what it is "supposed" to do.

makes sense..