Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1702 | - | 1 | /* Copyright (C) 2010-2011 Circuits At Home, LTD. All rights reserved. |
2 | |||
3 | This software may be distributed and modified under the terms of the GNU |
||
4 | General Public License version 2 (GPL2) as published by the Free Software |
||
5 | Foundation and appearing in the file GPL2.TXT included in the packaging of |
||
6 | this file. Please note that GPL2 Section 2[b] requires that all works based |
||
7 | on this software must also be made publicly available under the terms of |
||
8 | the GPL2 ("Copyleft"). |
||
9 | |||
10 | Contact information |
||
11 | ------------------- |
||
12 | |||
13 | Circuits At Home, LTD |
||
14 | Web : http://www.circuitsathome.com |
||
15 | e-mail : support@circuitsathome.com |
||
16 | */ |
||
17 | #ifndef __MTPCONST_H__ |
||
18 | #define __MTPCONST_H__ |
||
19 | |||
20 | #include <stdarg.h> |
||
21 | #include <inttypes.h> |
||
22 | |||
23 | // Operation Codes |
||
24 | #define MTP_OC_GetObjectPropsSupported 0x9801 |
||
25 | #define MTP_OC_GetObjectPropDesc 0x9802 |
||
26 | #define MTP_OC_GetObjectPropValue 0x9803 |
||
27 | #define MTP_OC_SetObjectPropValue 0x9804 |
||
28 | #define MTP_OC_GetObjectPropList 0x9805 |
||
29 | #define MTP_OC_SetObjectPropList 0x9806 |
||
30 | #define MTP_OC_GetInterdependentPropDesc 0x9807 |
||
31 | #define MTP_OC_SendObjectPropList 0x9808 |
||
32 | #define MTP_OC_GetObjectReferences 0x9810 |
||
33 | #define MTP_OC_SetObjectReferences 0x9811 |
||
34 | #define MTP_OC_Skip 0x9820 |
||
35 | |||
36 | // Responce Codes |
||
37 | #define MTP_RC_Invalid_ObjectPropCode 0xA801 |
||
38 | #define MTP_RC_Invalid_ObjectProp_Format 0xA802 |
||
39 | #define MTP_RC_Invalid_ObjectProp_Value 0xA803 |
||
40 | #define MTP_RC_Invalid_ObjectReference 0xA804 |
||
41 | #define MTP_RC_Group_Not_Supported 0xA805 |
||
42 | #define MTP_RC_Invalid_Dataset 0xA806 |
||
43 | #define MTP_RC_Specification_By_Group_Unsupported 0xA807 |
||
44 | #define MTP_RC_Specification_By_Depth_Unsupported 0xA808 |
||
45 | #define MTP_RC_Object_Too_Large 0xA809 |
||
46 | #define MTP_RC_ObjectProp_Not_Supported 0xA80A |
||
47 | |||
48 | // Event Codes |
||
49 | #define MTP_EC_ObjectPropChanged 0xC801 |
||
50 | #define MTP_EC_ObjectPropDescChanged 0xC802 |
||
51 | #define MTP_EC_ObjectReferencesChanged 0xC803 |
||
52 | |||
53 | // Device Property Codes |
||
54 | #define MTP_DPC_Synchronization_Partner 0xD401 |
||
55 | #define MTP_DPC_Device_Friendly_Name 0xD402 |
||
56 | #define MTP_DPC_Volume 0xD403 |
||
57 | #define MTP_DPC_SupportedFormatsOrdered 0xD404 |
||
58 | #define MTP_DPC_DeviceIcon 0xD405 |
||
59 | #define MTP_DPC_Session_Initiator_Version_Info 0xD406 |
||
60 | #define MTP_DPC_Perceived_Device_Type 0xD407 |
||
61 | #define MTP_DPC_Playback_Rate 0xD410 |
||
62 | #define MTP_DPC_Playback_Object 0xD411 |
||
63 | #define MTP_DPC_Playback_Container 0xD412 |
||
64 | |||
65 | // Object Formats |
||
66 | #define MTP_OFC_Undefined_Firmware 0xB802 |
||
67 | #define MTP_OFC_Windows_Image_Format 0xB881 |
||
68 | #define MTP_OFC_Undefined_Audio 0xB900 |
||
69 | #define MTP_OFC_WMA 0xB901 |
||
70 | #define MTP_OFC_OGG 0xB902 |
||
71 | #define MTP_OFC_AAC 0xB903 |
||
72 | #define MTP_OFC_Audible 0xB904 |
||
73 | #define MTP_OFC_FLAC 0xB906 |
||
74 | #define MTP_OFC_Undefined_Video 0xB980 |
||
75 | #define MTP_OFC_WMV 0xB981 |
||
76 | #define MTP_OFC_MP4_Container 0xB982 |
||
77 | #define MTP_OFC_MP2 0xB983 |
||
78 | #define MTP_OFC_3GP_Container 0xB984 |
||
79 | |||
80 | // Object Property Codes |
||
81 | #define MTP_OPC_StorageID 0xDC01 |
||
82 | #define MTP_OPC_Object_Format 0xDC02 |
||
83 | #define MTP_OPC_Protection_Status 0xDC03 |
||
84 | #define MTP_OPC_Object_Size 0xDC04 |
||
85 | #define MTP_OPC_Association_Type 0xDC05 |
||
86 | #define MTP_OPC_Association_Desc 0xDC06 |
||
87 | #define MTP_OPC_Object_File_Name 0xDC07 |
||
88 | #define MTP_OPC_Date_Created 0xDC08 |
||
89 | #define MTP_OPC_Date_Modified 0xDC09 |
||
90 | #define MTP_OPC_Keywords 0xDC0A |
||
91 | #define MTP_OPC_Parent_Object 0xDC0B |
||
92 | #define MTP_OPC_Allowed_Folder_Contents 0xDC0C |
||
93 | #define MTP_OPC_Hidden 0xDC0D |
||
94 | #define MTP_OPC_System_Object 0xDC0E |
||
95 | #define MTP_OPC_Persistent_Unique_Object_Identifier 0xDC41 |
||
96 | #define MTP_OPC_SyncID 0xDC42 |
||
97 | #define MTP_OPC_Property_Bag 0xDC43 |
||
98 | #define MTP_OPC_Name 0xDC44 |
||
99 | #define MTP_OPC_Created_By 0xDC45 |
||
100 | #define MTP_OPC_Artist 0xDC46 |
||
101 | #define MTP_OPC_Date_Authored 0xDC47 |
||
102 | #define MTP_OPC_Description 0xDC48 |
||
103 | #define MTP_OPC_URL_Reference 0xDC49 |
||
104 | #define MTP_OPC_Language-Locale 0xDC4A |
||
105 | #define MTP_OPC_Copyright_Information 0xDC4B |
||
106 | #define MTP_OPC_Source 0xDC4C |
||
107 | #define MTP_OPC_Origin_Location 0xDC4D |
||
108 | #define MTP_OPC_Date_Added 0xDC4E |
||
109 | #define MTP_OPC_Non-Consumable 0xDC4F |
||
110 | #define MTP_OPC_Corrupt/Unplayable 0xDC50 |
||
111 | #define MTP_OPC_ProducerSerialNumber 0xDC51 |
||
112 | #define MTP_OPC_Representative_Sample_Format 0xDC81 |
||
113 | #define MTP_OPC_Representative_Sample_Size 0xDC82 |
||
114 | #define MTP_OPC_Representative_Sample_Height 0xDC83 |
||
115 | #define MTP_OPC_Representative_Sample_Width 0xDC84 |
||
116 | #define MTP_OPC_Representative_Sample_Duration 0xDC85 |
||
117 | #define MTP_OPC_Representative_Sample_Data 0xDC86 |
||
118 | #define MTP_OPC_Width 0xDC87 |
||
119 | #define MTP_OPC_Height 0xDC88 |
||
120 | #define MTP_OPC_Duration 0xDC89 |
||
121 | #define MTP_OPC_Rating 0xDC8A |
||
122 | #define MTP_OPC_Track 0xDC8B |
||
123 | #define MTP_OPC_Genre 0xDC8C |
||
124 | #define MTP_OPC_Credits 0xDC8D |
||
125 | #define MTP_OPC_Lyrics 0xDC8E |
||
126 | #define MTP_OPC_Subscription_Content_ID 0xDC8F |
||
127 | #define MTP_OPC_Produced_By 0xDC90 |
||
128 | #define MTP_OPC_Use_Count 0xDC91 |
||
129 | #define MTP_OPC_Skip_Count 0xDC92 |
||
130 | #define MTP_OPC_Last_Accessed 0xDC93 |
||
131 | #define MTP_OPC_Parental_Rating 0xDC94 |
||
132 | #define MTP_OPC_Meta_Genre 0xDC95 |
||
133 | #define MTP_OPC_Composer 0xDC96 |
||
134 | #define MTP_OPC_Effective_Rating 0xDC97 |
||
135 | #define MTP_OPC_Subtitle 0xDC98 |
||
136 | #define MTP_OPC_Original_Release_Date 0xDC99 |
||
137 | #define MTP_OPC_Album_Name 0xDC9A |
||
138 | #define MTP_OPC_Album_Artist 0xDC9B |
||
139 | #define MTP_OPC_Mood 0xDC9C |
||
140 | #define MTP_OPC_DRM_Status 0xDC9D |
||
141 | #define MTP_OPC_Sub_Description 0xDC9E |
||
142 | #define MTP_OPC_Is_Cropped 0xDCD1 |
||
143 | #define MTP_OPC_Is_Colour_Corrected 0xDCD2 |
||
144 | #define MTP_OPC_Image_Bit_Depth 0xDCD3 |
||
145 | #define MTP_OPC_Fnumber 0xDCD4 |
||
146 | #define MTP_OPC_Exposure_Time 0xDCD5 |
||
147 | #define MTP_OPC_Exposure_Index 0xDCD6 |
||
148 | #define MTP_OPC_Total_BitRate 0xDE91 |
||
149 | #define MTP_OPC_Bitrate_Type 0xDE92 |
||
150 | #define MTP_OPC_Sample_Rate 0xDE93 |
||
151 | #define MTP_OPC_Number_Of_Channels 0xDE94 |
||
152 | #define MTP_OPC_Audio_BitDepth 0xDE95 |
||
153 | #define MTP_OPC_Scan_Type 0xDE97 |
||
154 | #define MTP_OPC_Audio_WAVE_Codec 0xDE99 |
||
155 | #define MTP_OPC_Audio_BitRate 0xDE9A |
||
156 | #define MTP_OPC_Video_FourCC_Codec 0xDE9B |
||
157 | #define MTP_OPC_Video_BitRate 0xDE9C |
||
158 | #define MTP_OPC_Frames_Per_Thousand_Seconds 0xDE9D |
||
159 | #define MTP_OPC_KeyFrame_Distance 0xDE9E |
||
160 | #define MTP_OPC_Buffer_Size 0xDE9F |
||
161 | #define MTP_OPC_Encoding_Quality 0xDEA0 |
||
162 | #define MTP_OPC_Encoding_Profile 0xDEA1 |
||
163 | #define MTP_OPC_Display_Name 0xDCE0 |
||
164 | #define MTP_OPC_Body_Text 0xDCE1 |
||
165 | #define MTP_OPC_Subject 0xDCE2 |
||
166 | #define MTP_OPC_Priority 0xDCE3 |
||
167 | #define MTP_OPC_Given_Name 0xDD00 |
||
168 | #define MTP_OPC_Middle_Names 0xDD01 |
||
169 | #define MTP_OPC_Family_Name 0xDD02 |
||
170 | #define MTP_OPC_Prefix 0xDD03 |
||
171 | #define MTP_OPC_Suffix 0xDD04 |
||
172 | #define MTP_OPC_Phonetic_Given_Name 0xDD05 |
||
173 | #define MTP_OPC_Phonetic_Family_Name 0xDD06 |
||
174 | #define MTP_OPC_Email_Primary 0xDD07 |
||
175 | #define MTP_OPC_Email_Personal_1 0xDD08 |
||
176 | #define MTP_OPC_Email_Personal_2 0xDD09 |
||
177 | #define MTP_OPC_Email_Business_1 0xDD0A |
||
178 | #define MTP_OPC_Email_Business_2 0xDD0B |
||
179 | #define MTP_OPC_Email_Others 0xDD0C |
||
180 | #define MTP_OPC_Phone_Number_Primary 0xDD0D |
||
181 | #define MTP_OPC_Phone_Number_Personal 0xDD0E |
||
182 | #define MTP_OPC_Phone_Number_Personal_2 0xDD0F |
||
183 | #define MTP_OPC_Phone_Number_Business 0xDD10 |
||
184 | #define MTP_OPC_Phone_Number_Business_2 0xDD11 |
||
185 | #define MTP_OPC_Phone_Number_Mobile 0xDD12 |
||
186 | #define MTP_OPC_Phone_Number_Mobile_2 0xDD13 |
||
187 | #define MTP_OPC_Fax_Number_Primary 0xDD14 |
||
188 | #define MTP_OPC_Fax_Number_Personal 0xDD15 |
||
189 | #define MTP_OPC_Fax_Number_Business 0xDD16 |
||
190 | #define MTP_OPC_Pager_Number 0xDD17 |
||
191 | #define MTP_OPC_Phone_Number_Others 0xDD18 |
||
192 | #define MTP_OPC_Primary_Web_Address 0xDD19 |
||
193 | #define MTP_OPC_Personal_Web_Address 0xDD1A |
||
194 | #define MTP_OPC_Business_Web_Address 0xDD1B |
||
195 | #define MTP_OPC_Instant_Messenger_Address 0xDD1C |
||
196 | #define MTP_OPC_Instant_Messenger_Address_2 0xDD1D |
||
197 | #define MTP_OPC_Instant_Messenger_Address_3 0xDD1E |
||
198 | #define MTP_OPC_Postal_Address_Personal_Full 0xDD1F |
||
199 | #define MTP_OPC_Postal_Address_Personal_Line_1 0xDD20 |
||
200 | #define MTP_OPC_Postal_Address_Personal_Line_2 0xDD21 |
||
201 | #define MTP_OPC_Postal_Address_Personal_City 0xDD22 |
||
202 | #define MTP_OPC_Postal_Address_Personal_Region 0xDD23 |
||
203 | #define MTP_OPC_Postal_Address_Personal_Postal_Code 0xDD24 |
||
204 | #define MTP_OPC_Postal_Address_Personal_Country 0xDD25 |
||
205 | #define MTP_OPC_Postal_Address_Business_Full 0xDD26 |
||
206 | #define MTP_OPC_Postal_Address_Business_Line_1 0xDD27 |
||
207 | #define MTP_OPC_Postal_Address_Business_Line_2 0xDD28 |
||
208 | #define MTP_OPC_Postal_Address_Business_City 0xDD29 |
||
209 | #define MTP_OPC_Postal_Address_Business_Region 0xDD2A |
||
210 | #define MTP_OPC_Postal_Address_Business_Postal_Code 0xDD2B |
||
211 | #define MTP_OPC_Postal_Address_Business_Country 0xDD2C |
||
212 | #define MTP_OPC_Postal_Address_Other_Full 0xDD2D |
||
213 | #define MTP_OPC_Postal_Address_Other_Line_1 0xDD2E |
||
214 | #define MTP_OPC_Postal_Address_Other_Line_2 0xDD2F |
||
215 | #define MTP_OPC_Postal_Address_Other_City 0xDD30 |
||
216 | #define MTP_OPC_Postal_Address_Other_Region 0xDD31 |
||
217 | #define MTP_OPC_Postal_Address_Other_Postal_Code 0xDD32 |
||
218 | #define MTP_OPC_Postal_Address_Other_Country 0xDD33 |
||
219 | #define MTP_OPC_Organization_Name 0xDD34 |
||
220 | #define MTP_OPC_Phonetic_Organization_Name 0xDD35 |
||
221 | #define MTP_OPC_Role 0xDD36 |
||
222 | #define MTP_OPC_Birthdate 0xDD37 |
||
223 | #define MTP_OPC_Message_To 0xDD40 |
||
224 | #define MTP_OPC_Message_CC 0xDD41 |
||
225 | #define MTP_OPC_Message_BCC 0xDD42 |
||
226 | #define MTP_OPC_Message_Read 0xDD43 |
||
227 | #define MTP_OPC_Message_Received_Time 0xDD44 |
||
228 | #define MTP_OPC_Message_Sender 0xDD45 |
||
229 | #define MTP_OPC_Activity_Begin_Time 0xDD50 |
||
230 | #define MTP_OPC_Activity_End_Time 0xDD51 |
||
231 | #define MTP_OPC_Activity_Location 0xDD52 |
||
232 | #define MTP_OPC_Activity_Required_Attendees 0xDD54 |
||
233 | #define MTP_OPC_Activity_Optional_Attendees 0xDD55 |
||
234 | #define MTP_OPC_Activity_Resources 0xDD56 |
||
235 | #define MTP_OPC_Activity_Accepted 0xDD57 |
||
236 | #define MTP_OPC_Owner 0xDD5D |
||
237 | #define MTP_OPC_Editor 0xDD5E |
||
238 | #define MTP_OPC_Webmaster 0xDD5F |
||
239 | #define MTP_OPC_URL_Source 0xDD60 |
||
240 | #define MTP_OPC_URL_Destination 0xDD61 |
||
241 | #define MTP_OPC_Time_Bookmark 0xDD62 |
||
242 | #define MTP_OPC_Object_Bookmark 0xDD63 |
||
243 | #define MTP_OPC_Byte_Bookmark 0xDD64 |
||
244 | #define MTP_OPC_Last_Build_Date 0xDD70 |
||
245 | #define MTP_OPC_Time_to_Live 0xDD71 |
||
246 | #define MTP_OPC_Media_GUID 0xDD72 |
||
247 | |||
248 | |||
249 | #endif // __MTPCONST_H__ |