added receiver functions

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@270 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2012-10-02 15:12:58 +00:00
parent 924f583be9
commit 3232ce8dac
2 changed files with 13 additions and 4 deletions

View File

@ -171,8 +171,8 @@ enum communicationProtocol{
Communication protocol (normally TCP) Communication protocol (normally TCP)
*/ */
enum networkParameter { enum networkParameter {
CLIENT_IP, /**< client IP */ RECEIVER_IP, /**< receiver IP */
CLIENT_MAC, /**< client mac */ RECEIVER_MAC, /**< receiver mac */
SERVER_MAC /**< server MAC */ SERVER_MAC /**< server MAC */
}; };
@ -228,6 +228,7 @@ enum {
ENABLED /**<flag enabled */ ENABLED /**<flag enabled */
}; };
/** /**
use of the external signals use of the external signals
*/ */

View File

@ -105,9 +105,17 @@ enum {
F_RESET_COUNTER_BLOCK, /**< resets the counter block memory for gotthard */ F_RESET_COUNTER_BLOCK, /**< resets the counter block memory for gotthard */
F_SETUP_RECEIVER, /**< sets up receiver with parameters */ F_SET_RECEIVER_FILE_NAME, /**< sets receiver file name */
F_START_RECEIVER/**< starts/stops the receiver and returns status */ F_SET_RECEIVER_FILE_DIR, /**< sets receiver file directory */
F_SET_RECEIVER_FILE_INDEX, /**< sets receiver file index */
F_START_RECEIVER, /**< starts the receiver listening mode */
F_STOP_RECEIVER, /**< stops the receiver listening mode */
F_GET_RECEIVER_STATUS /**< gets the status of receiver listening mode */
/* Always append functions hereafter!!! */ /* Always append functions hereafter!!! */