I have a project I'm working on, it has like 5 statemachines in it. And now I need another one to handle some protocol packet assembly and request/responses. I think instead of making another bad implementation I'd like to try and find something "more standard" that is either a design pattern with examples and comments, or a framework for this. There isn't a lot out there for C.
I've found Quantum Leaps which is alright, and seems like it can be used in a way that lets me keep my existing code as is.
Also uFSM was on hackernews the other day, but it's 11 days old, has no comments, and I'm not sure I can be on something that might be a timesuck.
So.... What I'm looking for is a way to implement state charts, hierarchical would be nice, a clear manual transition table or a reliable automatically generated one, IDK.... What do you guys use?