Serial protocol writing