上QQ阅读APP看书,第一时间看更新
Configuring the Connection Center tool
The Connection Center tool is like a bridge for communication between our AVD and our NFC Simulator. It just needs some simple configuration to provide smooth communication.
Getting ready
The following are the settings required for this recipe:
- Make sure you have downloaded Open NFC SDK Edition—refer to the Downloading Open NFC SDK Edition recipe.
- It's assumed that the Open NFC SDK Edition Core is already downloaded and extracted to the
NFCBook
folder in your home directory. - The .NET framework 2.0 or later must be installed. It can be downloaded directly from Microsoft Download Center, that is, http://www.microsoft.com/download.
How to do it…
We are going to configure the Connection Center tool properly to recognize our virtual device as follows:
- Open Explorer and go to the
Open NFC SDK Edition
folder. - Open the folder named
connection_center
. - Start Connection Center by right-clicking on
Connection Center.exe
and selectingRun as administrator
. - The program automatically starts hidden in the taskbar. Right-click on the icon labeled Connection Center and select Show from the context menu.
- Click on the Connection tab and configure it as shown in the following screenshot:
- Restart the Connection Center tool.
- Click on the Connection tab and verify whether the changes were saved.
How it works…
Since our AVD and our PC are two different machines even though the AVD is running on our PC, we need to "tell" the Connection Center tool to allow incoming and outgoing connections from other machines. This way, our AVD is able to connect to the Connection Center tool and vice versa.