Library to allo USB PTP device to be hosted by the mbed platform

Dependents:   class_project_main

Revision:
0:98cf19bcd828
Child:
1:71c0e9dc153d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PIMA15740/PIMA15740_types.h	Fri Aug 23 00:52:52 2013 +0000
@@ -0,0 +1,52 @@
+#include "PIMAconst.h"
+#include "PIMAArray.h"
+#include "PIMAString.h"
+
+        
+typedef __packed struct {
+     uint32_t len;
+     uint16_t type;
+     uint16_t opcode;
+     uint32_t TransactionID;
+     uint32_t param[5];
+    } PIMAContainer;
+        
+typedef struct {
+    uint16_t            standardVersion;
+    uint32_t            vendorExtensionID;
+    uint16_t            vendorExtensionVersion;
+    PIMAString          vendorExtensionDesc;
+    uint16_t            functionMode;
+    PIMAArray           operationsSupported;
+    PIMAArray           eventsSupported;
+    PIMAArray           devicePropertiesSupported;
+    PIMAArray           captureFormats;
+    PIMAArray           imageFormats;
+    PIMAString          manufacturer;
+    PIMAString          model;
+    PIMAString          deviceVersion;
+    PIMAString          serialNumber;
+} DeviceInfoStruct;
+
+typedef struct {
+    uint32_t   storageID;            //0x0
+    uint16_t   objectFormat;         //0x4
+    uint16_t   protectionStatus;     //0x6
+    uint32_t   objectCompressSize;   //0x8
+    uint16_t   thumbFormat;          //0xc
+    uint32_t   thumbCompressedSize;  //0xd
+    uint32_t   thumbPixWidth;        //0x12
+    uint32_t   thumbPixHeight;       //0x16
+    uint32_t   imagePixWidth;        //0x1a
+    uint32_t   imagePixHeight;       //0x1e
+    uint32_t   imageBitDepth;        //0x22
+    uint32_t   parentObject;         //0x26
+    uint16_t   associationType;      //0x2a
+    uint32_t   associationDesc;      //0x2c
+    uint32_t   sequenceNumber;       //0x30
+    PIMAString filename;           //0x34
+    PIMAString captureDate; 
+    PIMAString modificationDate;
+    PIMAString keywords;
+} ObjectInfoStruct;
+