Parses frames from the device