View Source Klf200.Slip (klf200 v0.1.5)

SLIP stands for the Serial Line Internet Protocol which is a basic encapsulation mechanism for IP packets. It's documented in RFC 1055.

This module provides just two public functions to pack and unpack a frame.

Summary

Functions

pack(frame)

@spec pack(bitstring()) :: <<_::16, _::_*8>>

unpack(arg1)

@spec unpack(any()) :: bitstring() | {:error, :missing_slip_end}