# $Header: https://oberon.oapd.inaf.it/shins/trunk/shins/etc/tiptilt_ctrl/SharknirBcuSimulator.cfg 3864 2022-03-28 07:32:22Z depa $

# ADAPTER:Endpoint= [NAME=sharknir_sim_bcu,HOST=127.0.0.1,PORT=60121]
ADAPTER:Endpoint= [NAME=rtc_ctrl-svr,PORT=50220]
STATE:BasdaServiceStateMachine= ONLINE

LOGGER.LEVEL:LogLevel = DEBUG

TIPTILT_CTRL.SVC:String= "Drag and drop this node for a GUI " +UI=$INSROOT/share/ui/Sharknir/SharknirBcu.ui"
# SVC.LOAD= [NAME=SHARKNIR_BCU_SIMULATOR, LIB=SharknirBasdaServiceBcuSimulator]
TIPTILT_CTRL.SVC.LOAD= [NAME=RTC, LIB=SharknirBasdaServiceBcu]


TIPTILT_CTRL.SVC.CFG.BCUIP:String= "192.168.103.60" #"192.168.0.52"
TIPTILT_CTRL.SVC.CFG.BCUPORT:U16= 10000             # port on the BCU, as for the manual it is port 10000
TIPTILT_CTRL.SVC.CFG.LOCALPORT:U16= 10000            # not clear which port is this

# these are for ARGOS BCU (HVC = Microgate High Voltage Control board)
# SVC.CFG.HVC.BLUE.SERIAL_NUMBER:String= "111012615"
# SVC.CFG.HVC.GREEN.SERIAL_NUMBER:String= "111012620"
# SVC.CFG.HVC.YELLOW.SERIAL_NUMBER:String= "111012617"
# SVC.CFG.HVC.RED.SERIAL_NUMBER:String= "111012616"

TIPTILT_CTRL.SVC.CFG.BCU.DSP_PROGRAM_PATH:File= "BCUTTController.ldr" #"/path/to/bcu.ldr"
# SVC.CFG.DSP16DO.DSP_PROGRAM_PATH:File= "/path/to/dsp16do.ldr"
# SVC.CFG.HVC.DSP_PROGRAM_PATH:File= "/path/to/hvc.ldr"

TIPTILT_CTRL.SVC.CFG.DIAGNOSTICS.DESTINATION_IP:String= "192.168.61.172"     # IP address of WS to which BCU sends diagnostics
TIPTILT_CTRL.SVC.CFG.DIAGNOSTICS.DESTINATION_MAC:String= "00:0c:29:5d:dc:81" #"de:ad:c0:de:ca:fe"  # WS MAC address to which BCU sends diagnostics
TIPTILT_CTRL.SVC.CFG.DIAGNOSTICS.DESTINATION_UDP_PORT:Int= 10042             # local port of the ws to which BCU sends diagnostics data

# this is for ARGOS
TIPTILT_CTRL.SVC.CFG.DIAGNOSTICS.ASM.DESTINATION_UDP_PORT:Int= 10041;
