Getting Started with Open Nfc Emulator

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!

Open NFC emulator (NFC unavailable )

When you create your AVD with the OpenNFC Add-on it is possible to activate NFC.

But it is done not in the settings, but in the separate application "Settings OpenNFC".

For full algo for setting OpenNFC simulator refere here.

How to install Open NFC Simulator for Android?

Ok, contacted the developers and they told me that the latest release (4.4.2) didn't include the compiled source code. So I used an older version (4.4.1), which included instructions in the directory Open NFC SDK for Android v4.4.1 (13751)\android_sdk\OpenNFC_AddOn\MAN_NFC_1204-314 Open NFC - Android ICS 4.0.3 - SDK v0.1



Related Topics



Leave a reply



Submit