Slippers
Implementation of the Serial Line IP (SLIP) protocol from RFC 1055 for no_std.
Example
Decoding SLIP
let encoded = hex!;
let encoded = new;
let mut buffer = ;
// Decoding the first frame.
let mut len = 0;
for in encoded.iter.zip
let result = &buffer;
assert_eq!;
let encoded = encoded.next_frame?;
// Decoding the second frame.
let mut len= 0;
for in encoded.iter.zip
let result = &buffer;
assert_eq!;
assert_eq!;
Encoding SLIP
let data = hex!;
let expected = hex!;
let slip = new;
let mut buffer = ;
let mut len = 0;
for in slip.iter.zip.enumerate
assert_eq!;
License: MIT OR Apache-2.0