Library to allo USB PTP device to be hosted by the mbed platform
Dependents: class_project_main
Diff: USBHostPTP.h
- Revision:
- 5:728b5d58e135
- Parent:
- 4:9c6f5867f050
- Child:
- 6:124a01eaf569
--- a/USBHostPTP.h Wed Aug 28 03:25:53 2013 +0000 +++ b/USBHostPTP.h Thu Aug 29 03:48:07 2013 +0000 @@ -383,6 +383,10 @@ static void ParseDeviceInfoDataBlock(void *ptp, uint8_t *buffer,uint16_t length); static void ParseObjectInfoDataBlock(void *ptp, uint8_t *buffer,uint16_t length); static void ParseStorageInfoDataBlock(void *ptp, uint8_t *buffer,uint16_t length); + void PrepareControlContainer(uint16_t operationCode, + OperFlags *operationFlags, + uint32_t *parameters); + bool RecieveDataContainer(void *dataHandlerFunctionCastToVoid, uint16_t *responseCode); uint16_t Transaction(uint16_t operationCode, OperFlags *flags, uint32_t *params = NULL, void *pVoid = NULL); };