Welcome to MSDN Blogs Sign in | Join | Help

Simulating multiple devices using Contoso device simulator...

One recent question I got on BizTalk RFID was: "Is it possible to try it out with multiple simulated devices?"

 

The good news is "Yes, it is amazingly easy to do this" using the Contoso Provider / Device Simulator.  Let's say you have added the Contoso Provider in BizTalk RFID using RFID Manager.

 

1.     Go to %RFIDINSTALLDIR%\Samples\Device Service Provider\Contoso\ContosoEndToEnd\ContosoDeviceSimulator

2.     Open ContosoSimulatorConfig.xml

3.     Add additional sections here: add one section for each additional device that you want to simulate. Note that each section should have a unique name, unique device name, and unique port number.  You need to change only the port information and can use the same IP address.

 

For e.g.

 

section name="DeviceInformation_2">

<entry name="DeviceName">ContosoTestDevice2</entry>

<entry name="ConnectionType">TCPIP</entry>

<entry name="IpAddress">0.0.0.0</entry>

<entry name="PortNumber">6667</entry>

<entry name="ProviderId">Contoso</entry>

<entry name="NotificationDataFile">ContosoNotificationConfig.xml</entry>

<entry name="DeviceTranslatorAssemblyPath">Microsoft.Rfid.Test.ContosoDeviceTranslator.dll</entry>

<entry name="DeviceTranslatorConfigFile"></entry>

</section>

 

4) Run “runContosoSimulator.cmd”. 

Now, you can use the Add Device Wizard to add these simulated devices and connect to them.

 

Published Thursday, October 04, 2007 12:09 PM by kalyanaj

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Attorney Search &raquo; Simulating multiple devices using Contoso device simulator&#8230;

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker