mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 04:29:22 +01:00
included settting up of udpport from client and getting receiver mac from receiver and also listening to only one ethernet interface
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@371 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -174,9 +174,10 @@ enum detectorType {
|
||||
*/
|
||||
|
||||
enum networkParameter {
|
||||
RECEIVER_IP, /**< receiver IP */
|
||||
RECEIVER_MAC, /**< receiver mac */
|
||||
SERVER_MAC /**< server MAC */
|
||||
DETECTOR_MAC, /**< detector MAC */
|
||||
RECEIVER_HOSTNAME, /**< receiver IP/hostname */
|
||||
RECEIVER_UDP_IP, /**< receiever UDP IP */
|
||||
RECEIVER_UDP_PORT /**< receiever UDP Port */
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -453,7 +454,7 @@ enum correctionFlags {
|
||||
enum portType {
|
||||
CONTROL_PORT, /**< control port */
|
||||
STOP_PORT, /**<stop port */
|
||||
DATA_PORT /**< data port */
|
||||
DATA_PORT /**< receiver tcp port with client*/
|
||||
};
|
||||
|
||||
/** hierarchy in multi-detector structure, if any */
|
||||
|
||||
@@ -124,7 +124,9 @@ enum {
|
||||
|
||||
F_GET_FRAME_INDEX, /**< gets the frame index */
|
||||
|
||||
F_RESET_FRAMES_CAUGHT /**< resets the frames caught */
|
||||
F_RESET_FRAMES_CAUGHT, /**< resets the frames caught */
|
||||
|
||||
F_SETUP_UDP /**< sets the receiver udp connection and returns receiver mac address */
|
||||
|
||||
/* Always append functions hereafter!!! */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user