MTP Compliance Test - Requirements - Digital Camera
This device test validates compliance with Picture Transfer Protocol (PTP) and Media Transfer Protocol (MTP).
This test makes sure that devices support specific requirements for digital cameras. This test is directed at digital camera devices that use MTP. This test validates compliance with defined protocols based on requirements that are documented in the Windows Certification Program.
Note
This test does not cover the following items:
Digital rights management (DRM) validation
Devices that use proprietary (third-party) drivers that work with the Windows Portable Device (WPD) driver stack
Test details
Associated requirements |
Device.Portable.DigitalCamera.MTP |
Platforms |
Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 |
Expected run time |
~5 minutes |
Categories |
Certification Functional |
Type |
Automated |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Device.Portable Testing Prerequisites.
This test copies test content to the device for testing. If the device is read-only make sure the device has at least one file of each format type supported by the device.
Troubleshooting
For troubleshooting information, see Troubleshooting Device.Portable Testing.
More Information
This automated test requires a PTP or MTP-compatible device and provides Pass/Fail results for each requirement.
This test is divided into the following functional categories:
Device Capabilities tests
Operations tests
Device Properties
Object Property tests
Each functional category contains child test cases, which test the subcomponents that fall under the corresponding category.
The test validates that the device supports the following operations:
OpenSession
CloseSession
GetDeviceInfo
GetStorageIDs
GetStorageInfo
GetNumObjects
GetObjectHandles
GetObjectInfo
GetObject
GetDevicePropDesc
GetDevicePropValue
The test validates that the following formats are supported:
Association
EXIF/JPEG
All other supported operations, device properties, and object properties are considered optional, and therefore will be validated according to implementation details defined in the Picture Transfer Protocol (PTP) for Digital Still Photography Devices, Version 1.0 (PIMA15740) and Media Transfer Protocol (MTP), Revision 1.0.
Command syntax
Command option | Description |
---|---|
te.exe /p:”BVT=TRUE” MtpTest.dll /select(@name='@CapabilitiesTests*') /p “DeviceProfile=MtpCamera.xml” |
Runs the test. |
Note
For command-line help for this test binary, type /h.
File list
File | Location |
---|---|
Mtptest.dll |
<testbinroot>\mtp\ |
MtpCamera.xml |
<testbinroot>\mtp\ |