State machine protocol sequence