aboutsummaryrefslogtreecommitdiffstats
path: root/o3000.h
diff options
context:
space:
mode:
authorSophia Papagiannaki <papagiannaki@stettbacher.ch>2020-05-19 18:30:53 +0200
committerSophia Papagiannaki <papagiannaki@stettbacher.ch>2020-05-19 18:30:53 +0200
commitbf0831b3e877ec53f223b73c1de5f6028f24a885 (patch)
tree08e8e605508197a4036592aacc881e4a752bc2cd /o3000.h
parentadded firmware upgrade function (diff)
downloado3000-driver-bf0831b3e877ec53f223b73c1de5f6028f24a885.tar.gz
o3000-driver-bf0831b3e877ec53f223b73c1de5f6028f24a885.zip
Version 2.1.0
Implemented firmware update.
Diffstat (limited to 'o3000.h')
-rw-r--r--o3000.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/o3000.h b/o3000.h
index 2ec4d07..ac2127e 100644
--- a/o3000.h
+++ b/o3000.h
@@ -53,6 +53,10 @@
#define O3000_ERROR_USB_TRANSFER_TIMEOUT -10 ///< USB transfer timeout
#define O3000_ERROR_USB_EP_HALTED -11 ///< USB endpoint halted
#define O3000_ERROR_LESS_DATA -12 ///< USB received less data than expected
+#define O3000_ERROR_NOT_VALID_ARGUMENT -13 ///< at least one function argument is not valid
+#define O3000_ERROR_SESSION_STILL_OPEN -14 ///< there is at least one session still open
+#define O3000_ERROR_BOOTLOADER_TIMEOUT -15 ///< camera could not start in bootloader mode in given time
+#define O3000_ERROR_USB_INIT_FAILURE -16 ///< failed to initialize the usb
#define O3000_ERROR_OTHER -1000 ///< other (unspecified) error