diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/debian/changelog libstarshootg-1.48.1+202305311918~ubuntu22.10.1/debian/changelog --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/debian/changelog 2023-04-05 16:45:15.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/debian/changelog 2023-05-31 19:18:52.000000000 +0000 @@ -1,8 +1,8 @@ -libstarshootg (1.48.1+202304051645~ubuntu22.10.1) kinetic; urgency=low +libstarshootg (1.48.1+202305311918~ubuntu22.10.1) kinetic; urgency=low * Auto build. - -- Jasem Mutlaq Wed, 05 Apr 2023 16:45:15 +0000 + -- Jasem Mutlaq Wed, 31 May 2023 19:18:52 +0000 libstarshootg (1.48.1) bionic; urgency=medium diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/debian/git-build-recipe.manifest libstarshootg-1.48.1+202305311918~ubuntu22.10.1/debian/git-build-recipe.manifest --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/debian/git-build-recipe.manifest 2023-04-05 16:45:15.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/debian/git-build-recipe.manifest 2023-05-31 19:18:52.000000000 +0000 @@ -1,5 +1,5 @@ -# git-build-recipe format 0.4 deb-version {debupstream}+202304051645 +# git-build-recipe format 0.4 deb-version {debupstream}+202305311918 lp:~mutlaqja/+git/dummy git-commit:9a182f35d7f48b02de1170889c0798f3ab639afb -nest-part src lp:~mutlaqja/libindi/+git/trunk libstarshootg libstarshootg git-commit:dface75385f2abfb823af39b3573b6e7b2fd8017 -nest-part cmake lp:~mutlaqja/libindi/+git/trunk cmake_modules libstarshootg/cmake_modules git-commit:dface75385f2abfb823af39b3573b6e7b2fd8017 -nest-part pack lp:~mutlaqja/libindi/+git/trunk debian/libstarshootg debian git-commit:dface75385f2abfb823af39b3573b6e7b2fd8017 +nest-part src lp:~mutlaqja/libindi/+git/trunk libstarshootg libstarshootg git-commit:993c7bb35f93439ad90c3df4e1302eae62cef4bc +nest-part cmake lp:~mutlaqja/libindi/+git/trunk cmake_modules libstarshootg/cmake_modules git-commit:993c7bb35f93439ad90c3df4e1302eae62cef4bc +nest-part pack lp:~mutlaqja/libindi/+git/trunk debian/libstarshootg debian git-commit:993c7bb35f93439ad90c3df4e1302eae62cef4bc Binary files /tmp/tmphjqlafjw/5uNb9LOKVN/libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/arm64/libstarshootg.bin and /tmp/tmphjqlafjw/fLyHkRG6Gr/libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/arm64/libstarshootg.bin differ Binary files /tmp/tmphjqlafjw/5uNb9LOKVN/libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/armhf/libstarshootg.bin and /tmp/tmphjqlafjw/fLyHkRG6Gr/libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/armhf/libstarshootg.bin differ diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/CMakeLists.txt libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/CMakeLists.txt --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/CMakeLists.txt 2023-04-05 16:44:59.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/CMakeLists.txt 2023-05-31 19:18:45.000000000 +0000 @@ -1,8 +1,8 @@ cmake_minimum_required (VERSION 3.0) project (libstarshootg) -set (LIBSTARSHOOTG_VERSION "53.22376") -set (LIBSTARSHOOTG_SOVERSION "53") +set (LIBSTARSHOOTG_VERSION "54.22587") +set (LIBSTARSHOOTG_SOVERSION "54") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/") list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/") diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/cmake_modules/FindASTROASIS.cmake libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/cmake_modules/FindASTROASIS.cmake --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/cmake_modules/FindASTROASIS.cmake 1970-01-01 00:00:00.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/cmake_modules/FindASTROASIS.cmake 2023-05-31 19:18:48.000000000 +0000 @@ -0,0 +1,49 @@ +# - Try to find Astroasis Library +# Once done this will define +# +# ASTROASIS_FOUND - system has Astroasis +# ASTROASIS_INCLUDE_DIR - the Astroasis include directory +# ASTROASIS_LIBRARIES - Link these to use Astroasis + +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + +if (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + # in cache already + set(ASTROASIS_FOUND TRUE) + message(STATUS "Found libastroasis: ${ASTROASIS_LIBRARIES}") + +else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + find_path(ASTROASIS_INCLUDE_DIR AOFocus.h + PATH_SUFFIXES libastroasis + ${_obIncDir} + ${GNUWIN32_DIR}/include + ) + + find_library(ASTROASIS_LIBRARIES NAMES oasisfocuser + PATHS + ${_obLinkDir} + ${GNUWIN32_DIR}/lib + ) + + if(ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + set(ASTROASIS_FOUND TRUE) + else (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + set(ASTROASIS_FOUND FALSE) + endif(ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) + + if (ASTROASIS_FOUND) + if (NOT ASTROASIS_FIND_QUIETLY) + message(STATUS "Found Astroasis Library: ${ASTROASIS_LIBRARIES}") + endif (NOT ASTROASIS_FIND_QUIETLY) + else (ASTROASIS_FOUND) + if (ASTROASIS_FIND_REQUIRED) + message(FATAL_ERROR "Astroasis Library not found. Please install Astroasis Library http://www.indilib.org") + endif (ASTROASIS_FIND_REQUIRED) + endif (ASTROASIS_FOUND) + + mark_as_advanced(ASTROASIS_INCLUDE_DIR ASTROASIS_LIBRARIES) + +endif (ASTROASIS_INCLUDE_DIR AND ASTROASIS_LIBRARIES) diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/libstarshootg.spec libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/libstarshootg.spec --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/libstarshootg.spec 2023-04-05 16:44:59.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/libstarshootg.spec 2023-05-31 19:18:45.000000000 +0000 @@ -1,6 +1,6 @@ %define __cmake_in_source_build %{_vpath_builddir} Name: libstarshootg -Version:2.0.1.git +Version:2.0.2.git Release: %(date -u +%%Y%%m%%d%%H%%M%%S)%{?dist} Summary: Instrument Neutral Distributed Interface 3rd party drivers Binary files /tmp/tmphjqlafjw/5uNb9LOKVN/libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/mac/libstarshootg.bin and /tmp/tmphjqlafjw/fLyHkRG6Gr/libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/mac/libstarshootg.bin differ diff -Nru libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/starshootg.h libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/starshootg.h --- libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/starshootg.h 2023-04-05 16:44:59.000000000 +0000 +++ libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/starshootg.h 2023-05-31 19:18:45.000000000 +0000 @@ -1,7 +1,7 @@ #ifndef __starshootg_h__ #define __starshootg_h__ -/* Version: 53.22376.20230402 */ +/* Version: 54.22587.20230516 */ /* Platform & Architecture: (1) Win32: @@ -159,10 +159,10 @@ #define STARSHOOTG_FLAG_EVENT_HARDWARE 0x0000040000000000 /* hardware event, such as exposure start & stop */ #define STARSHOOTG_FLAG_LIGHTSOURCE 0x0000080000000000 /* light source */ #define STARSHOOTG_FLAG_FILTERWHEEL 0x0000100000000000 /* filter wheel */ -#define STARSHOOTG_FLAG_GIGE 0x0000200000000000 /* GigE */ -#define STARSHOOTG_FLAG_10GIGE 0x0000400000000000 /* 10 GigE */ -#define STARSHOOTG_FLAG_5GIGE 0x0000800000000000 /* 5 GigE */ -#define STARSHOOTG_FLAG_25GIGE 0x0001000000000000 /* 2.5 GigE */ +#define STARSHOOTG_FLAG_GIGE 0x0000200000000000 /* 1 Gigabit GigE */ +#define STARSHOOTG_FLAG_10GIGE 0x0000400000000000 /* 10 Gigabit GigE */ +#define STARSHOOTG_FLAG_5GIGE 0x0000800000000000 /* 5 Gigabit GigE */ +#define STARSHOOTG_FLAG_25GIGE 0x0001000000000000 /* 2.5 Gigabit GigE */ #define STARSHOOTG_EXPOGAIN_DEF 100 /* exposure gain, default value */ #define STARSHOOTG_EXPOGAIN_MIN 100 /* exposure gain, minimum value */ @@ -217,7 +217,7 @@ #define STARSHOOTG_DENOISE_DEF 0 /* denoise */ #define STARSHOOTG_DENOISE_MIN 0 /* denoise */ #define STARSHOOTG_DENOISE_MAX 100 /* denoise */ -#define STARSHOOTG_TEC_TARGET_MIN (-300) /* TEC target: -30.0 degrees Celsius */ +#define STARSHOOTG_TEC_TARGET_MIN (-500) /* TEC target: -50.0 degrees Celsius */ #define STARSHOOTG_TEC_TARGET_DEF 0 /* 0.0 degrees Celsius */ #define STARSHOOTG_TEC_TARGET_MAX 400 /* TEC target: 40.0 degrees Celsius */ #define STARSHOOTG_HEARTBEAT_MIN 100 /* millisecond */ @@ -277,7 +277,7 @@ } StarshootgDeviceV2; /* camera instance for enumerating */ /* - get the version of this dll/so/dylib, which is: 53.22376.20230402 + get the version of this dll/so/dylib, which is: 54.22587.20230516 */ #if defined(_WIN32) STARSHOOTG_API(const wchar_t*) Starshootg_Version(); @@ -978,7 +978,14 @@ threshold: [1, 4095] 0xffffffff => set to default */ -#define STARSHOOTG_OPTION_ISP 0x59 /* hardware ISP: on => 1, off => 0 */ +#define STARSHOOTG_OPTION_GIGETIMEOUT 0x5a /* For GigE cameras, the application periodically sends heartbeat signals to the camera to keep the connection to the camera alive. + If the camera doesn't receive heartbeat signals within the time period specified by the heartbeat timeout counter, the camera resets the connection. + When the application is stopped by the debugger, the application cannot create the heartbeat signals + 0 => auto: when the camera is opened, disable if debugger is present or enable if no debugger is present + 1 => enable + 2 => disable + default: auto + */ /* pixel format */ #define STARSHOOTG_PIXELFORMAT_RAW8 0x00 @@ -1126,6 +1133,11 @@ #define STARSHOOTG_FLASH_READ 0x04 /* read */ #define STARSHOOTG_FLASH_WRITE 0x05 /* write */ #define STARSHOOTG_FLASH_ERASE 0x06 /* erase */ +/* Flash: + action = STARSHOOTG_FLASH_XXXX: read, write, erase, query total size, query read/write block size, query erase block size + addr = address + see democpp +*/ STARSHOOTG_API(HRESULT) Starshootg_rwc_Flash(HStarshootg h, unsigned action, unsigned addr, unsigned len, void* pData); STARSHOOTG_API(HRESULT) Starshootg_write_UART(HStarshootg h, const unsigned char* pData, unsigned nDataLen); @@ -1285,8 +1297,10 @@ STARSHOOTG_DEPRECATED STARSHOOTG_API(HRESULT) Starshootg_AbbOnePush(HStarshootg h, PISTARSHOOTG_BLACKBALANCE_CALLBACK funBB, void* ctxBB); +typedef void (__stdcall* PSTARSHOOTG_HOTPLUG)(void* ctxHotPlug); +STARSHOOTG_API(HRESULT) Starshootg_GigeEnable(PSTARSHOOTG_HOTPLUG funHotPlug, void* ctxHotPlug); /* -Only available on macOS and Linux, it's unnecessary on Windows & Android. To process the device plug in / pull out: +USB hotplug is only available on macOS and Linux, it's unnecessary on Windows & Android. To process the device plug in / pull out: (1) On Windows, please refer to the MSDN (a) Device Management, https://docs.microsoft.com/en-us/windows/win32/devio/device-management (b) Detecting Media Insertion or Removal, https://docs.microsoft.com/en-us/windows/win32/devio/detecting-media-insertion-or-removal @@ -1296,7 +1310,6 @@ (4) On macOS, IONotificationPortCreate series APIs can also be used as an alternative. Recommendation: for better rubustness, when notify of device insertion arrives, don't open handle of this device immediately, but open it after delaying a short time (e.g., 200 milliseconds). */ -typedef void (*PSTARSHOOTG_HOTPLUG)(void* ctxHotPlug); #if !defined(_WIN32) && !defined(__ANDROID__) STARSHOOTG_API(void) Starshootg_HotPlug(PSTARSHOOTG_HOTPLUG funHotPlug, void* ctxHotPlug); #endif Binary files /tmp/tmphjqlafjw/5uNb9LOKVN/libstarshootg-1.48.1+202304051645~ubuntu22.10.1/libstarshootg/x64/libstarshootg.bin and /tmp/tmphjqlafjw/fLyHkRG6Gr/libstarshootg-1.48.1+202305311918~ubuntu22.10.1/libstarshootg/x64/libstarshootg.bin differ