added processing of start-of-frame byte