mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
solving merging conflicts from 3.1.0 to developer
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
Path: slsDetectorsPackage/slsReceiverSoftware
|
||||
URL: origin git@git.psi.ch:sls_detectors_software/slsDetectorPackage.git
|
||||
Repository Root: origin git@git.psi.ch:sls_detectors_software/slsDetectorPackage.git
|
||||
Repsitory UUID: 7436d6c8d3538cef443e0fa76bc01762fd6cc246
|
||||
Revision: 688
|
||||
Branch: 3.0.1
|
||||
Last Changed Author: Dhanya_Maliakal
|
||||
Last Changed Rev: 3186
|
||||
Last Changed Date: 2017-12-06 08:45:14.000000002 +0100 ./src/UDPStandardImplementation.cpp
|
||||
URL: origin git@github.com:slsdetectorgroup/slsDetectorPackage.git
|
||||
Repository Root: origin git@github.com:slsdetectorgroup/slsDetectorPackage.git
|
||||
Repsitory UUID: b389402d647e939342dbb2c9317c688c0eb6b105
|
||||
Revision: 708
|
||||
Branch: 3.1.0-rc
|
||||
Last Changed Author: Erik_Frojdh
|
||||
Last Changed Rev: 3458
|
||||
Last Changed Date: 2018-03-09 12:23:14.000000002 +0100 ./src/Listener.cpp
|
||||
|
@ -1,6 +1,6 @@
|
||||
#define GITURL "git@git.psi.ch:sls_detectors_software/slsDetectorPackage.git"
|
||||
#define GITREPUUID "7436d6c8d3538cef443e0fa76bc01762fd6cc246"
|
||||
#define GITAUTH "Dhanya_Maliakal"
|
||||
#define GITREV 0x3186
|
||||
#define GITDATE 0x20171206
|
||||
#define GITBRANCH "3.0.1"
|
||||
#define GITURL "git@github.com:slsdetectorgroup/slsDetectorPackage.git"
|
||||
#define GITREPUUID "b389402d647e939342dbb2c9317c688c0eb6b105"
|
||||
#define GITAUTH "Erik_Frojdh"
|
||||
#define GITREV 0x3458
|
||||
#define GITDATE 0x20180309
|
||||
#define GITBRANCH "3.1.0-rc"
|
||||
|
@ -631,17 +631,18 @@ int slsReceiverTCPIPInterface::send_update() {
|
||||
char defaultVal[MAX_STR_LENGTH];
|
||||
memset(defaultVal, 0, sizeof(defaultVal));
|
||||
char* path = NULL;
|
||||
int n = 0;
|
||||
|
||||
mySock->SendDataOnly(mySock->lastClientIP,sizeof(mySock->lastClientIP));
|
||||
n += mySock->SendDataOnly(mySock->lastClientIP,sizeof(mySock->lastClientIP));
|
||||
|
||||
// filepath
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
path = receiverBase->getFilePath();
|
||||
#endif
|
||||
if (path == NULL)
|
||||
mySock->SendDataOnly(defaultVal,MAX_STR_LENGTH);
|
||||
n += mySock->SendDataOnly(defaultVal,MAX_STR_LENGTH);
|
||||
else {
|
||||
mySock->SendDataOnly(path,MAX_STR_LENGTH);
|
||||
n += mySock->SendDataOnly(path,MAX_STR_LENGTH);
|
||||
delete[] path;
|
||||
}
|
||||
|
||||
@ -650,9 +651,9 @@ int slsReceiverTCPIPInterface::send_update() {
|
||||
path = receiverBase->getFileName();
|
||||
#endif
|
||||
if(path == NULL)
|
||||
mySock->SendDataOnly(defaultVal,MAX_STR_LENGTH);
|
||||
n += mySock->SendDataOnly(defaultVal,MAX_STR_LENGTH);
|
||||
else {
|
||||
mySock->SendDataOnly(path,MAX_STR_LENGTH);
|
||||
n += mySock->SendDataOnly(path,MAX_STR_LENGTH);
|
||||
delete[] path;
|
||||
}
|
||||
|
||||
@ -660,43 +661,43 @@ int slsReceiverTCPIPInterface::send_update() {
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=receiverBase->getFileIndex();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
//file format
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getFileFormat();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// file write enable
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getFileWriteEnable();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// file overwrite enable
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getOverwriteEnable();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// receiver read frequency
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getFrameToGuiFrequency();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// streaming port
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getStreamingPort();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// data streaming enable
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
ind=(int)receiverBase->getDataStreamEnable();
|
||||
#endif
|
||||
mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
n += mySock->SendDataOnly(&ind,sizeof(ind));
|
||||
|
||||
// streaming source ip
|
||||
#ifdef SLS_RECEIVER_UDP_FUNCTIONS
|
||||
|
Reference in New Issue
Block a user