Skip to content

Commit

Permalink
SVBONY CCD firmware and SDK version information logs added (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
jctk authored Jul 2, 2023
1 parent 168152a commit 14ac7a6
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian/indi-svbony/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
indi-svbony (1.3.8) bionic; urgency=low

* SVBONY CCD firmware and SDK version information logs added

-- Tetsuya Kakura <[email protected]> Wed, 2 Jul 2023 06:00:00 +0900

indi-svbony (1.3.7) bionic; urgency=low

* Fixed Conflict of private variables in SVBONYCCD class.
Expand Down
2 changes: 1 addition & 1 deletion indi-svbony/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include(GNUInstallDirs)

set (SVBONY_VERSION_MAJOR 1)
set (SVBONY_VERSION_MINOR 3)
set (SVBONY_VERSION_PATCH 7)
set (SVBONY_VERSION_PATCH 8)

find_package(CFITSIO REQUIRED)
find_package(INDI REQUIRED)
Expand Down
1 change: 1 addition & 0 deletions indi-svbony/README
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Limitations
Changelog
=========

+ 1.3.8 : SVBONY CCD firmware and SDK version information logs added.
+ 1.3.7 : Fixed Conflict of private variables in SVBONYCCD class.
+ 1.3.6 : Disabled workaround code for bug #666 "the problem that the last exposure image may be read in soft trigger mode".
+ 1.3.5 : Added process to initialize Camera parameters when Camera is connected.
Expand Down
2 changes: 1 addition & 1 deletion indi-svbony/doc/svbony-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Family : CCDs
Manufacturer : SVBONY
Platforms : Linux (Intel, ARM),Mac OS X 64 bits
Author : Blaise-Florentin Collin & Tetsuya Kakura
Version : 1.3.3
Version : 1.3.8

![SV305 camera](./SV305.jpg)

Expand Down
13 changes: 13 additions & 0 deletions indi-svbony/svbony_ccd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,19 @@ bool SVBONYCCD::Connect()
return false;
}

// Get Camera Firmware Version
status = SVBGetCameraFirmwareVersion(cameraID, cameraFirmwareVersion);
if (status == SVB_SUCCESS)
{
LOGF_INFO("Camera Firmware Version:%s", cameraFirmwareVersion);
}
else {
LOG_ERROR("Error, getting Camera Firmware Version failed.");
}
// Get SVBONY Camera SDK Version
SDKVersion = SVBGetSDKVersion();
LOGF_INFO("SVBONY Camera SDK Version:%s", SDKVersion);

// wait a bit for the camera to get ready
usleep(0.5 * 1e6);

Expand Down
5 changes: 5 additions & 0 deletions indi-svbony/svbony_ccd.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ class SVBONYCCD : public INDI::CCD
// pixel size
float pixelSize;

// Camera Firmware version number
char cameraFirmwareVersion[65];
// SVBONY Camera SDK version number
const char* SDKVersion;

// hCamera mutex protection
pthread_mutex_t cameraID_mutex;

Expand Down

0 comments on commit 14ac7a6

Please sign in to comment.