I am completely new to c programming. I need help with a program that does bit stuffing and unstuffing. I tried to do stuffing part from an example code and I think its working, but I am stuck on the unstuffing part because I need to follow a " state diagram" that is complex.
How would I unstuff the bit that is already stuff, like delete the bit in the string. There is a special bit pattern that would be at the start of frame and end of frame and I need to get rid of if, I need to write a code in c for it. Any help would be appreciated.