STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions
usbh_mtp_ptp.c File Reference

This file includes the PTP operations layer. More...

#include "usbh_mtp_ptp.h"
#include "usbh_mtp.h"

Go to the source code of this file.

Functions

USBH_StatusTypeDef USBH_PTP_Init (USBH_HandleTypeDef *phost)
 USBH_PTP_Init The function Initializes the BOT protocol. More...
 
USBH_StatusTypeDef USBH_PTP_Process (USBH_HandleTypeDef *phost)
 USBH_PTP_Process The function handle the BOT protocol. More...
 
USBH_StatusTypeDef USBH_PTP_SendRequest (USBH_HandleTypeDef *phost, PTP_ContainerTypedef *req)
 USBH_PTP_OpenSession Open a new session. More...
 
USBH_StatusTypeDef USBH_PTP_GetResponse (USBH_HandleTypeDef *phost, PTP_ContainerTypedef *resp)
 USBH_PTP_OpenSession Open a new session. More...
 
USBH_StatusTypeDef USBH_PTP_OpenSession (USBH_HandleTypeDef *phost, uint32_t session)
 USBH_PTP_OpenSession Open a new session. More...
 
USBH_StatusTypeDef USBH_PTP_GetDevicePropDesc (USBH_HandleTypeDef *phost, uint16_t propcode, PTP_DevicePropDescTypdef *devicepropertydesc)
 USBH_PTP_GetDevicePropDesc Gets object partially. More...
 
USBH_StatusTypeDef USBH_PTP_GetDeviceInfo (USBH_HandleTypeDef *phost, PTP_DeviceInfoTypedef *dev_info)
 USBH_PTP_GetDeviceInfo Gets device info dataset and fills deviceinfo structure. More...
 
USBH_StatusTypeDef USBH_PTP_GetStorageIds (USBH_HandleTypeDef *phost, PTP_StorageIDsTypedef *storage_ids)
 USBH_PTP_GetStorageIds Gets device info dataset and fills deviceinfo structure. More...
 
USBH_StatusTypeDef USBH_PTP_GetStorageInfo (USBH_HandleTypeDef *phost, uint32_t storage_id, PTP_StorageInfoTypedef *storage_info)
 USBH_PTP_GetDeviceInfo Gets device info dataset and fills deviceinfo structure. More...
 
USBH_StatusTypeDef USBH_PTP_GetNumObjects (USBH_HandleTypeDef *phost, uint32_t storage_id, uint32_t objectformatcode, uint32_t associationOH, uint32_t *numobs)
 USBH_PTP_GetNumObjects Gets device info dataset and fills deviceinfo structure. More...
 
USBH_StatusTypeDef USBH_PTP_GetObjectHandles (USBH_HandleTypeDef *phost, uint32_t storage_id, uint32_t objectformatcode, uint32_t associationOH, PTP_ObjectHandlesTypedef *objecthandles)
 USBH_PTP_GetObjectHandles Gets device info dataset and fills deviceinfo structure. More...
 
USBH_StatusTypeDef USBH_PTP_GetObjectInfo (USBH_HandleTypeDef *phost, uint32_t handle, PTP_ObjectInfoTypedef *object_info)
 USBH_PTP_GetObjectInfo Gets objert info. More...
 
USBH_StatusTypeDef USBH_PTP_DeleteObject (USBH_HandleTypeDef *phost, uint32_t handle, uint32_t objectformatcode)
 USBH_PTP_DeleteObject Delete an object. More...
 
USBH_StatusTypeDef USBH_PTP_GetObject (USBH_HandleTypeDef *phost, uint32_t handle, uint8_t *object)
 USBH_PTP_GetObject Gets object. More...
 
USBH_StatusTypeDef USBH_PTP_GetPartialObject (USBH_HandleTypeDef *phost, uint32_t handle, uint32_t offset, uint32_t maxbytes, uint8_t *object, uint32_t *len)
 USBH_PTP_GetPartialObject Gets object partially. More...
 
USBH_StatusTypeDef USBH_PTP_GetObjectPropsSupported (USBH_HandleTypeDef *phost, uint16_t ofc, uint32_t *propnum, uint16_t *props)
 USBH_PTP_GetObjectPropsSupported Gets object partially. More...
 
USBH_StatusTypeDef USBH_PTP_GetObjectPropDesc (USBH_HandleTypeDef *phost, uint16_t opc, uint16_t ofc, PTP_ObjectPropDescTypeDef *opd)
 USBH_PTP_GetObjectPropDesc Gets object partially. More...
 
USBH_StatusTypeDef USBH_PTP_GetObjectPropList (USBH_HandleTypeDef *phost, uint32_t handle, MTP_PropertiesTypedef *pprops, uint32_t *nrofprops)
 USBH_PTP_GetObjectPropList Gets object partially. More...
 
USBH_StatusTypeDef USBH_PTP_SendObject (USBH_HandleTypeDef *phost, uint32_t handle, uint8_t *object, uint32_t size)
 USBH_PTP_SendObject Send an object. More...
 

Detailed Description

This file includes the PTP operations layer.

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usbh_mtp_ptp.c.