Getting started with Open NFC emulator

@nikhil:
Thanks for the link to TCP Echo Server. I got my OpenNFC stack to work after running the echo server. So that other users can benefit from this exercise, here’s a summary of what to do to set up the OpenNFC stack with the NFC controller (NFCC) simulator.

–The stack (with NFCC simulator) is supported on Windows host only, since both the Connection Center and the NFCC simulator are Windows apps.

–Need to download all 3 packages:

  1. OpenNFC Android SDK addon
  2. OpenNFC core Edition, which has the Connection Center and the NFCC simulator apps.
  3. The echo server: EchoTool

–Install the SDK addon, and create an AVD using the SDK Addon.

–start Connection Center (run “Connection Center.exe”) and config it to accept client connections from other machines.

–start NFCC simulator (run “NfcSimulator.exe”).

–start echo server (on port 7), using the cmd: echotool /p tcp /s 7

–start Android emulator using the AVD just created.

–from the emulator, select Settings->Wireless & networks->NFC settings

–enter 10.0.2.2 in IP Connection Center

–select Simulator for NFC HAL implementation

–now click the NFC toggle (check box) to start the NFC stack!

Leave a Comment