Skip to content

koimr/hdlc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdlc

HDLC framing

Help

./hdlc_test --help

Execute random HDLC packet encoding and decoding

./hdlc_test

HDLC encode the hex byte stream "12 7E 7E 34 56 78"

./hdlc_test -s "12 7E 7E 34 56 78"

HDLC decode the hex byte stream "7E 12 7D 5E 7D 5E 34 56 78 02 A0 7E"

./hdlc_test -S "7E 12 7D 5E 7D 5E 34 56 78 02 A0 7E"