Split serial port stream in frames.
Add stream byte order validation.
Add command line interface.