Manchester handshake to man code