mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
jungfrau server works
This commit is contained in:
@ -689,8 +689,9 @@ public:
|
||||
if(nsent == header_packet_size)
|
||||
continue;
|
||||
if(nsent != nsending){
|
||||
if(nsent && (nsent != -1))
|
||||
if(nsent && (nsent != -1)) {
|
||||
FILE_LOG(logERROR) << "Incomplete Packet size " << nsent;
|
||||
}
|
||||
break;
|
||||
}
|
||||
length-=nsent;
|
||||
@ -707,8 +708,9 @@ public:
|
||||
if(nsent<=0 || nsent == packet_size)
|
||||
break;
|
||||
//incomplete packets or header packets ignored and read buffer again
|
||||
if(nsent != packet_size && nsent != header_packet_size)
|
||||
if(nsent != packet_size && nsent != header_packet_size) {
|
||||
FILE_LOG(logERROR) << portno << ": Incomplete Packet size " << nsent;
|
||||
}
|
||||
}
|
||||
//nsent = 1040;
|
||||
if(nsent > 0)total_sent+=nsent;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/** API versions */
|
||||
#define APIRECEIVER 0x180927
|
||||
#define APIEIGER 0x181008
|
||||
#define APIJUNGFRAU 0x181008
|
||||
#define APIEIGER 0x181031
|
||||
#define APIJUNGFRAU 0x181102
|
||||
#define APIGOTTHARD 0x181009
|
||||
|
||||
|
Reference in New Issue
Block a user