General Header Compression in RIOT

Hello everyone,

in the frame of a university project in Telematics, we implemented a General Header Compression for the 6LowPAN. We would like now to put this GHC in RIOT. Because we’re pretty new to RIOT’s world, we would like to know where to start. Meaning, where do we have to place our compression? which interface function? what’s there to consider? Thank you very much in advance

Fares Mokrani

Hi Fares!

in the frame of a university project in Telematics, we implemented a General Header Compression for the 6LowPAN. We would like now to put this GHC in RIOT. Because we're pretty new to RIOT's world, we would like to know where to start. Meaning, where do we have to place our compression? which interface function?

I would suggest to handle the encoding in sixlowpan_lowpan_sendto() (before the whole IP packet gets send (and possible fragmented)) and the decoding in lowpan_transfer() (before the whole IP packet is send to the upper layers (both in sys/net/sixlowpan/lowpan.c).

Martine, what do you think?

Cheers, Oleg

P.S. GHC is an active Internet Draft, currently processed by the new IETF working group 6lo: draft-bormann-6lo-ghc-00

Hi Fares, hi Oleg,