OSHDLC is the software implementation of High Level Data Link Control (HDLC) standard. It is an optimized C-code. It may be used on lots of platforms easily.
(NOTICE: THIS CODE HAS BEEN MOVED TO THE FOLLOWING LOCATION:
I strongly suggest you to refer to this version.
We are trying to run this on OEL6.4(linux), but the code is not working. We used it with our tested sample data, the output of this code was not correct. Then we tried the "Tester" application, it was not able to decode the raw encoded by its own function. Environment: OS : OEL 6.4 2.6.32-300.10.1.el5uek g++ version : 4.1.2 20080704 Please suggest if there is something that needs to be corrected.
Hello, I ran this program and each time the below statement gets executed: /*decoded packet size is equal to the original size?*/ if ( enc_isize != dec_osize ) goto err; Could someone please tell me why the encoder and decoder size do not match? Also, I am working on a project that only receives SDLC messages. Will this code work? Thank you, Newbie
Stable and works.