module id instead of serial number

This commit is contained in:
2021-08-12 11:16:10 +02:00
parent 9e1716da56
commit 200df88dcf
13 changed files with 111 additions and 91 deletions

View File

@ -80,10 +80,12 @@ class Detector {
Result<int64_t> getSerialNumber(Positions pos = {}) const;
/** [Gotthard2] Can overwrite and is sent out as mod_id in
* sls_detector_header in header of UDP data packet streamed out from
* detector.*/
void setSerialNumber(const int64_t value, Positions pos = {});
/** [Gotthard2] */
Result<int> getModuleId(Positions pos = {}) const;
/** [Gotthard2] 6 bit value (ideally unique) that is "
"streamed out1 in the UDP header of the detector. Default is 0. */
void setModuleId(const int value, Positions pos = {});
Result<int64_t> getReceiverVersion(Positions pos = {}) const;