cd ...\Debug

# cmd window 1: test-platform launch
#==============================
# start test-platform
# Note: this is also the default argument of test-platform exe Configuration Debugging properties
test-platform.exe ...\Configuration\ParameterFrameworkConfiguration.xml

# cmd window 2: test-platform remote command line
#===========================================
# get command list on test-platform (port 5001: Configurable by passing it as second argument to test-platform.exe)
remote-process.exe localhost 5001 help

# Create one type of criteria that will be provided by test-platform to the parameter-framework instance
remote-process.exe localhost 5001 createExclusiveSelectionCriterionFromStateList Orientation Vertical Horizontal

# start PFW
remote-process.exe localhost 5001 start

# cmd window 3: parameter-framework remote command line
#=======================================================
# Check that the PFW is correctly started
remote-process.exe localhost 5000 status

### Simulate an Orientation change ###

# Disable tuning mode
remote-process.exe localhost 5000 setTuningMode on

# Check the PFW status (in particular, look at the value of the Orientation criteria & the related configuration name for each Domain)
remote-process.exe localhost 5000 status

# Check some values, using getParameter or dumpElement:
remote-process.exe localhost 5000 dumpElement /Audio/AudioDspComm/Microphone/Modules/InputMicEq/Subeffects/InputMicSelection

# Change the value of the Orientation criteria using the test-platform
remote-process.exe localhost 5001 setCriterionState Orientation Horizontal
remote-process.exe localhost 5001 applyConfigurations

# Check the PFW new status 
remote-process.exe localhost 5000 status
remote-process.exe localhost 5000 dumpElement /Audio/AudioDspComm/Microphone/Modules/InputMicEq/Subeffects/InputMicSelection




