servers: updated fw-sw api version check error message, m3 and g2: updated min fw version

This commit is contained in:
maliakal_d 2020-10-02 11:17:11 +02:00
parent 855ed36db2
commit 91efecd4ca
8 changed files with 29 additions and 29 deletions

View File

@ -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));

View File

@ -156,11 +156,11 @@ 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",
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));

View File

@ -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));

View File

@ -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)

View File

@ -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));

View File

@ -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));

View File

@ -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));

View File

@ -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)