summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2009-04-02 14:17:18 +0000
committerMarcus Meissner <marcus@jet.franken.de>2009-04-02 14:17:18 +0000
commit06e8147869c8d0ec956795f26da46cc39e3361a7 (patch)
tree658db79acb1028e16e80e2fc534d8ffe61fab0e9
parentc59139f6a17928153b17efe1e75fcefb5ca3c706 (diff)
downloadlibgphoto2-06e8147869c8d0ec956795f26da46cc39e3361a7.tar.gz
nikon vendor error codes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/branches/libgphoto2-2_4/libgphoto2@11930 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r--camlibs/ptp2/ptp.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/camlibs/ptp2/ptp.h b/camlibs/ptp2/ptp.h
index 6c25f54f5..638840937 100644
--- a/camlibs/ptp2/ptp.h
+++ b/camlibs/ptp2/ptp.h
@@ -507,7 +507,20 @@ typedef struct _PTPIPHeader PTPIPHeader;
#define PTP_RC_EK_FilenameInvalid 0xA003
/* Nikon specific response codes */
-#define PTP_RC_NIKON_AdvancedTransferCancel 0xA022
+#define PTP_RC_NIKON_HardwareError 0xA001
+#define PTP_RC_NIKON_OutOfFocus 0xA002
+#define PTP_RC_NIKON_ChangeCameraModeFailed 0xA003
+#define PTP_RC_NIKON_InvalidStatus 0xA004
+#define PTP_RC_NIKON_SetPropertyNotSupported 0xA005
+#define PTP_RC_NIKON_WbResetError 0xA006
+#define PTP_RC_NIKON_DustReferenceError 0xA007
+#define PTP_RC_NIKON_ShutterSpeedBulb 0xA008
+#define PTP_RC_NIKON_MirrorUpSequence 0xA009
+#define PTP_RC_NIKON_CameraModeNotAdjustFNumber 0xA00A
+#define PTP_RC_NIKON_NotLiveView 0xA00B
+#define PTP_RC_NIKON_MfDriveStepEnd 0xA00C
+#define PTP_RC_NIKON_MfDriveStepInsufficiency 0xA00E
+#define PTP_RC_NIKON_AdvancedTransferCancel 0xA022
/* Canon specific response codes */
#define PTP_RC_CANON_A009 0xA009