servicediscoveryandcontrol/pnp/test/upnp/IntegTest/testupnp/TestData/Ini_Files/discovery.ini
//discovery.ini
////////////////////////////////////////////////////////////////////
//Positive test case
//search for ALL devices
////////////////////////////////////////////////////////////////////
[UPnP_Discover_all_001]
//later introduce Publish first and then do discovery
listofsequences=discover_all_001,print_disc_all_001
[discover_all_001]
listofmxtimes=30
listofservicetypes=ssdp:all
operationtype=discovery
schedulerstatus=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000
[print_disc_all_001]
operationtype=printresults
//This may be modified later
resultscount=0
////////////////////////////////////////////////////////////////////
//Positive test case
//search for ROOT devices
////////////////////////////////////////////////////////////////////
[UPnP_Discover_root_001]
//later introduce Publish first and then do discovery
listofsequences=discover_root_001,print_disc_root_001
[discover_root_001]
listofmxtimes=10
listofservicetypes=upnp:rootdevice
operationtype=discovery
schedulerstatus=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000
[print_disc_root_001]
operationtype=printresults
//This may be modified later
resultscount=0
////////////////////////////////////////////////////////////////////
//Negative test case
//servicetype= "upnp:root" instead of "upnp:rootdevice"
////////////////////////////////////////////////////////////////////
[UPnP_Discover_all_100]
//later introduce Publish first and then do discovery
listofsequences=discover_all_100,print_disc_all_100
[discover_all_100]
listofmxtimes=10
listofservicetypes=upnp:root
operationtype=discovery
schedulerstatus=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000
[print_disc_all_100]
operationtype=printresults
//This may be modified later
resultscount=0
////////////////////////////////////////////////////////////////////
//Negative test case
//servicetype= "upnp:root" instead of "upnp:rootdevice"
////////////////////////////////////////////////////////////////////
[UPnP_Discover_all_101]
//later introduce Publish first and then do discovery
listofsequences=discover_all_101,print_disc_all_101
[discover_all_101]
listofmxtimes=10,20,30
listofservicetypes=ssdp:all,ssdp:all,upnp:rootdevice
operationtype=discovery
duplicateuri=TRUE
schedulerstatus=TRUE
delayenabled=FALSE
//wait time in Tics
waittime=50000000
[print_disc_all_101]
operationtype=printresults
//This may be modified later
resultscount=0
//////////////////////////////////////////////////////////////
[UPnP_Discover_0001]
listofsequences=discover_0_1,startscheduler_0_1,print_0_1
[discover_0_1]
responsetime=50
servicetype=ssdp:all
threadname=control_1
operationtype=discovery
delayenabled=TRUE
waittime=50000000
canceldiscovery=TRUE
[canceldiscover_0_1]
servicetype=ssdp:all
operationtype=canceldiscovery
[startscheduler_0_1]
operationtype=startscheduler
[Print_0_1]
operationtype=printdiscover
[delay_0_1]
delayenabled=TRUE
waittime=50000000
operationtype=starttimer
[validate_0_1]
threadname=control_1
operationtype=validatediscoveryresults
signalmanager=TRUE
[discoveryresponse_0_1]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58
[discoveryresponse_0_2]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[UPnP_Discover_0002]
listofcontrolPointServices=CP_0_1
listofsequences=discover_0_1,waitonsemaphore_0_1,Print_0_1
[CP_0_1]
threadname=control_1
controlpoint=TRUE
servicepoint=FALSE
[discover_0_1]
responsetime=10
servicetype=urn:schemas-upnp-org:device:BinaryLight:1
threadname=control_1
operationtype=discovery
[waitonsemaphore_0_1]
waitonsemaphore=TRUE
waitcount=1
signalmanager=TRUE
[Print_0_1]
threadname=control_1
operationtype=print
signalmanager=TRUE
[delay_0_1]
delayenabled=TRUE
waittime=50000000
[validate_0_1]
threadname=control_1
operationtype=validatediscoveryresults
signalmanager=TRUE
[discoveryresponse_0_1]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58
[discoveryresponse_0_2]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58
/////////////////////////////////////////////////////////////////////////////////////////////
[UPnP_Discover_Multiple_0001]
listofcontrolPointServices=CP_0_1,CP_0_2
listofsequences=discover_0_2,waitonsemaphore_0_1,Print_0_1
[CP_0_1]
threadname=control_1
controlpoint=TRUE
servicepoint=FALSE
[CP_0_2]
threadname=control_2
controlpoint=TRUE
servicepoint=FALSE
[discover_0_1]
responsetime=10
servicetype=ssdp:all
threadname=control_1
operationtype=discovery
[discover_0_2]
responsetime=100
servicetype=upnp::rootdevice
threadname=control_2
operationtype=discovery
[waitonsemaphore_0_1]
waitonsemaphore=TRUE
waitcount=1
signalmanager=TRUE
[Print_0_1]
threadname=control_2
operationtype=print
signalmanager=TRUE
[Print_0_2]
threadname=control_1
operationtype=print
signalmanager=TRUE
[delay_0_1]
delayenabled=TRUE
waittime=50000000
[validate_0_1]
threadname=control_1
operationtype=validatediscoveryresults
signalmanager=TRUE
[discoveryresponse_0_1]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58
[discoveryresponse_0_2]
//Expected response from observer
//cachecontrol or maxage
expirytime=1800
location = http://10.192.196.185:58168/
//searchtarget
uri=ssdp:rootdevice
usn=uuid:c7cdd26d-a060-4c66-90bb-cd1031c76f58