Home |
AX772/AX178 and AX172 USB-Ethernet Drivers Media Transfer Protocol Class Driver |
Media Transfer Protocol Class DriverThe USB Media Transfer Protocol Class Driver (MTP) supports devices which adhere to the Media Transfer Protocol, Release 1.1 specification. MTP is an extension to the Picture Transfer Protocol (PTP) standard that allows media files to be transferred to and from portable devices. MTP supports the transfer of any kind of file. Typical USB devices supporting this protocol are mobile phones, digital cameras, and audio devices. To use the driver, applications must register the driver's attachment/detachment callback USBMTP using RTURegisterCallback before any USB host controllers are registered. Subsequently, function USBMTPGetDevInfo can be used to get information about attached MTP devices. The driver has functions to get/set device properties, retrieve and send files from/to the device, delete and rename files, and get/set file properies. The driver can manage any number of simultaniously attached MTP devices. Demo program MTPDemo shows how the MTP Class driver can be used.
|