forked from felis/PTP_2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ptpmsgstr.h
95 lines (88 loc) · 5.03 KB
/
ptpmsgstr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in the packaging of
this file. Please note that GPL2 Section 2[b] requires that all works based
on this software must also be made publicly available under the terms of
the GPL2 ("Copyleft").
Contact information
-------------------
Circuits At Home, LTD
Web : http://www.circuitsathome.com
e-mail : [email protected]
*/
#ifndef __PTPMSGSTR_H__
#define __PTPMSGSTR_H__
const char MsgErrDeviceConf[] PROGMEM = "Error configuring device. Returned:";
const char MsgErrProtoConf[] PROGMEM = "Error configuring boot protocol. Returned:";
const char MsgDeviceInitialized[] PROGMEM = "Device initialized";
#ifdef PTP_HANDLE_RESPONSES
//const char msgUndefined[] PROGMEM = "Undefined";
const char msgOK[] PROGMEM = "OK";
const char msgGeneralError[] PROGMEM = "GeneralError";
const char msgSessionNotOpen[] PROGMEM = "SessionNotOpen";
const char msgInvalidTransactionID[] PROGMEM = "InvalidTransactionID";
const char msgOperationNotSupported[] PROGMEM = "OperationNotSupported";
const char msgParameterNotSupported[] PROGMEM = "ParameterNotSupported";
const char msgIncompleteTransfer[] PROGMEM = "IncompleteTransfer";
const char msgInvalidStorageId[] PROGMEM = "InvalidStorageId";
const char msgInvalidObjectHandle[] PROGMEM = "InvalidObjectHandle";
const char msgDevicePropNotSupported[] PROGMEM = "DevicePropNotSupported";
const char msgInvalidObjectFormatCode[] PROGMEM = "InvalidObjectFormatCode";
const char msgStoreFull[] PROGMEM = "StoreFull";
const char msgObjectWriteProtected[] PROGMEM = "ObjectWriteProtected";
const char msgStoreReadOnly[] PROGMEM = "StoreReadOnly";
const char msgAccessDenied[] PROGMEM = "AccessDenied";
const char msgNoThumbnailPresent[] PROGMEM = "NoThumbnailPresent";
const char msgSelfTestFailed[] PROGMEM = "SelfTestFailed";
const char msgPartialDeletion[] PROGMEM = "PartialDeletion";
const char msgStoreNotAvailable[] PROGMEM = "StoreNotAvailable";
const char msgSpecificationByFormatUnsupported [] PROGMEM = "SpecificationByFormatUnsupported";
const char msgNoValidObjectInfo[] PROGMEM = "NoValidObjectInfo";
const char msgInvalidCodeFormat[] PROGMEM = "InvalidCodeFormat";
const char msgUnknownVendorCode[] PROGMEM = "UnknownVendorCode";
const char msgCaptureAlreadyTerminated[] PROGMEM = "CaptureAlreadyTerminated";
const char msgDeviceBusy[] PROGMEM = "DeviceBusy";
const char msgInvalidParentObject[] PROGMEM = "InvalidParentObject";
const char msgInvalidDevicePropFormat[] PROGMEM = "InvalidDevicePropFormat";
const char msgInvalidDevicePropValue[] PROGMEM = "InvalidDevicePropValue";
const char msgInvalidParameter[] PROGMEM = "InvalidParameter";
const char msgSessionAlreadyOpened[] PROGMEM = "SessionAlreadyOpened";
const char msgTransactionCanceled[] PROGMEM = "TransactionCanceled";
const char msgSpecificationOfDestinationUnsupported[] PROGMEM = "SpecificationOfDestinationUnsupported";
#endif
#if 0
const char msgUndefined[] PROGMEM = "Undefined";
const char msgBatteryLevel[] PROGMEM = "BatteryLevel";
const char msgFunctionalMode[] PROGMEM = "FunctionalMode";
const char msgImageSize[] PROGMEM = "ImageSize";
const char msgCompressionSetting[] PROGMEM = "CompressionSetting";
const char msgWhiteBalance[] PROGMEM = "WhiteBalance";
const char msgRGBGain[] PROGMEM = "RGBGain";
const char msgFNumber[] PROGMEM = "FNumber";
const char msgFocalLength[] PROGMEM = "FocalLength";
const char msgFocusDistance[] PROGMEM = "FocusDistance";
const char msgFocusMode[] PROGMEM = "FocusMode";
const char msgExposureMeteringMode[] PROGMEM = "ExposureMeteringMode";
const char msgFlashMode[] PROGMEM = "FlashMode";
const char msgExposureTime[] PROGMEM = "ExposureTime";
const char msgExposureProgramMode[] PROGMEM = "ExposureProgramMode";
const char msgExposureIndex[] PROGMEM = "ExposureIndex";
const char msgExposureBiasCompensation[] PROGMEM = "ExposureBiasCompensation";
const char msgDateTime[] PROGMEM = "DateTime";
const char msgCaptureDelay[] PROGMEM = "CaptureDelay";
const char msgStillCaptureMode[] PROGMEM = "StillCaptureMode";
const char msgContrast[] PROGMEM = "Contrast";
const char msgSharpness[] PROGMEM = "Sharpness";
const char msgDigitalZoom[] PROGMEM = "DigitalZoom";
const char msgEffectMode[] PROGMEM = "EffectMode";
const char msgBurstNumber[] PROGMEM = "BurstNumber";
const char msgBurstInterval[] PROGMEM = "BurstInterval";
const char msgTimelapseNumber[] PROGMEM = "TimelapseNumber";
const char msgTimelapseInterval[] PROGMEM = "TimelapseInterval";
const char msgFocusMeteringMode[] PROGMEM = "FocusMeteringMode";
const char msgUploadURL[] PROGMEM = "UploadURL";
const char msgArtist[] PROGMEM = "Artist";
const char msgCopyrightInfo[] PROGMEM = "CopyrightInfo";
#endif
#endif //__PTPMSGSTR_H__