mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
servers: updated fw-sw api version check error message, m3 and g2: updated min fw version
This commit is contained in:
parent
855ed36db2
commit
91efecd4ca
@ -164,10 +164,10 @@ void basictests() {
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > REQRD_FRMWR_VRSN) {
|
||||
sprintf(initErrorMessage,
|
||||
"This detector software software version (0x%llx) is "
|
||||
"incompatible.\n"
|
||||
"Please update detector software (min. 0x%llx) to be "
|
||||
"compatible with this firmware.\n",
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)REQRD_FRMWR_VRSN);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
|
@ -156,13 +156,13 @@ void basictests() {
|
||||
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > REQUIRED_FIRMWARE_VERSION) {
|
||||
sprintf(
|
||||
initErrorMessage,
|
||||
"This detector software software version (%lld) is incompatible.\n"
|
||||
"Please update detector software (min. %lld) to be compatible with "
|
||||
"this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)REQUIRED_FIRMWARE_VERSION);
|
||||
sprintf(initErrorMessage,
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)REQUIRED_FIRMWARE_VERSION);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
initError = FAIL;
|
||||
return;
|
||||
|
@ -152,10 +152,10 @@ void basictests() {
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > requiredFirmwareVersion) {
|
||||
sprintf(initErrorMessage,
|
||||
"This detector software software version (0x%llx) is "
|
||||
"incompatible.\n"
|
||||
"Please update detector software (min. 0x%llx) to be "
|
||||
"compatible with this firmware.\n",
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)requiredFirmwareVersion);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
#define REQRD_FRMWRE_VRSN (0x200707)
|
||||
#define REQRD_FRMWRE_VRSN (0x200925)
|
||||
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
||||
|
||||
#define CTRL_SRVR_INIT_TIME_US (300 * 1000)
|
||||
|
@ -138,10 +138,10 @@ void basictests() {
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > requiredFirmwareVersion) {
|
||||
sprintf(initErrorMessage,
|
||||
"This detector software software version (0x%llx) is "
|
||||
"incompatible.\n"
|
||||
"Please update detector software (min. 0x%llx) to be "
|
||||
"compatible with this firmware.\n",
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)requiredFirmwareVersion);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
|
@ -160,10 +160,10 @@ void basictests() {
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > REQRD_FRMWR_VRSN) {
|
||||
sprintf(initErrorMessage,
|
||||
"This detector software software version (0x%llx) is "
|
||||
"incompatible.\n"
|
||||
"Please update detector software (min. 0x%llx) to be "
|
||||
"compatible with this firmware.\n",
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)REQRD_FRMWR_VRSN);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
|
@ -136,10 +136,10 @@ void basictests() {
|
||||
// check for API compatibility - old server
|
||||
if (sw_fw_apiversion > requiredFirmwareVersion) {
|
||||
sprintf(initErrorMessage,
|
||||
"This detector software software version (0x%llx) is "
|
||||
"incompatible.\n"
|
||||
"Please update detector software (min. 0x%llx) to be "
|
||||
"compatible with this firmware.\n",
|
||||
"This firmware-software api version (0x%llx) is incompatible "
|
||||
"with the software's minimum required firmware version "
|
||||
"(0x%llx).\nPlease update detector software to be compatible "
|
||||
"with this firmware.\n",
|
||||
(long long int)sw_fw_apiversion,
|
||||
(long long int)requiredFirmwareVersion);
|
||||
LOG(logERROR, (initErrorMessage));
|
||||
|
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
#define REQRD_FRMWRE_VRSN 0x190000
|
||||
#define REQRD_FRMWRE_VRSN (0x200925)
|
||||
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
||||
|
||||
#define CTRL_SRVR_INIT_TIME_US (300 * 1000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user