Various protocol fixes + new SC2262 protocol + MOTION, CONTACT and DUSK protocol type