Make Device Emulator and Cellular Emulator connected
Cellular Emulator is a very useful tool to simulate the phone functions. Then how to connect it with device emulator? Here we go!
1. Install the Windows Mobile 6 SDK, you can download it from www.microsoft.com/downloads/en/default.aspx.
2. Launch the Cellular Emulator and Device Emulator.
3. Double check the Cellular Emulator and remember the string at the lower left corner, like “DE: COM3”.
4. Click the menu at Device Emulator, File –> Configure… –> Peripherals, then put the string information got from step 3 into “Serial port 0:”, like “COM3”. And click OK.
5. Soft reset the Device Emulator by clicking File –> Reset –> Soft.
6. Open the Cellular Emulator, in the AT log window, you can see lots of AT logs. It shows that you have made Device Emulator and Cellular Emulator connected!
Some other guys may ask the question “when I generate a image using Platform Builder, why this did not work any more?”, now here I could give some suggestions:
1. Make sure the following environment variables are set before you run the command MAKEIMG.
SET IMGEMP=1
SET IMGDUALPORTRIL=1
SET IMGFAKERIL=
2. When you reboot the device emulator at step 5, please also reset Cellular Emulator connection by clicking Configuration –> Reset.
Try use it and make a good use of Cellular Emulator. It is a good simulation environment to test some applications on device emulator. For some phone function testing scenarios, this test environment may not probably accurate. But this is still an easy, quick test tool and worth a try!