GenPacket is a generator for binary packet protocols much like gengetopt is for getopt. With a simple dsl it aims to make implementing a binary custom packet format a lot easyier, without the need to write the skeleton code over and over again.
The range of supported package types is from simple fixed size packets to packets with a start stop frame and escaping of data.
Examples can be found in the test directory
On Mac OSX installing from source requires bison 3.0.2 or greater which can be installed using homebrew
$ brew install bison
then configure like this:
$ YACC=/usr/local/opt/bison/bin/bison ./configure
Then you can install with:
$ make && make install
- libcheck
- bats
Libcheck van be installed using homebrew on mac with: $brew install check