USB Host MTP/PTP to digital camera
Hello,
I'm testing the STM3240G-eval with the USB host MTP. The goal is to retrieve the photo from a canon EOS 100.
The camera uses PTP protocol.
As the demonstration code read .wav file, I wrote a wav file to the root of the SD card.
The digital camera is recognised but when the code arrives on USBH_MTP_GetObjectHandles(&hUSBHost, 0, PTP_OFC_WAV, 0xFFFFFFFF, &WavHandles), no file is returned.
Perhaps I should replace the USH_MTP_xx function by USBH_PTP_xx ?
Any idea?
Pierre
