Hello! Now there is a real example of code using gen_statem. Check it out. https://github.com/erlang/otp/pull/1037 Regards Ingela Erlang/OTP team - Ericsson AB -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160429/85156232/attachment.htm>