added new functionality to USB protocol for speed measurement; basic function for speed measurement