Enviar por SMS: Event-based modeling of input signal behaviors for discrete-event controllers