Patent ID: 8078805

Claim:
A method for communicating with a universal serial bus (USB) mass storage device, the method comprises: receiving, by a caching filter driver and from a USB mass storage device driver, a first reading request for a first size data from a USB mass storage driver; wherein the caching filter driver resides below the USB mass storage driver; determining, by the caching filter driver, if requested data which is requested in the first reading request is comprised in a prefetched read data cache; issuing by the caching filter driver a second reading request for a second size data to the USB mass storage device over a wireless channel; receiving the second size data from the USB mass storage device over the wireless channel; storing the second size data in the prefetched read data cache, if the requested data is not comprised in the prefetched read data cache; providing by the caching filter driver and to the USB mass storage device driver, the requested data from the prefetched read data cache; wherein the second size is larger than the first size and the second size data comprises the first size data; and receiving by the caching filter driver an error message which indicates that the data transfer of the second size data could not be completed; and issuing the first reading request by the caching filter driver.