Core Edition
Quick access: overview
, compilation
, requirements
, latest news 
Overview
The Open NFC Core Edition is a superset of the SDK edition: it contains the Open NFC SDK (for Win32) and also the source code of the hardware-independent core of the Open NFC stack, and the source code of the NFC HAL module for NFC Simulator.
Here is the detailed list of the contents:
- The documents for this release (/core, /core/documents)
- The portable source code of Open NFC (/core/sources, /core/interfaces)
- The Win32 porting of Open NFC core (/core/porting)
- The NFC HAL for simulator (sources and Win32 porting)
- The Win32 porting of NFC HAL for MicroRead (Win32 porting only)
- The Win32 example applications
- A few Win32 applications associated with Open NFC: the Connection Center, the NFC Simulator
- The AC File Generator tool for the Security Stack (/core/security/aclgen)
What you can do with this edition:
- Compile the Open NFC software stack for Win32 (using the win32 porting files). Note that if you want to recompile the NFC HAL for MicroRead module, you will need also the NFC HAL for MicroRead Edition that contains the source code.
- Use this edition as a basis for a new porting, if no other edition is closer to your target environment.
- Compile a Win32 application that uses Open NFC. A few examples are provided (require Microsoft Visual Studio Express for compilation). See below for the complete quick howto.
- Test this application with the NFC Simulator
What you cannot do:
- You cannot recompile the nfc_hal_microread DLL with this edition only; you will need to get the source files from the NFC HAL for MicroRead Edition.
Please check the documents included in this Edition (in particular SIS_NFC_0707-003 “Open NFC – API Specification” and SIS_NFC_0709-014 “Open NFC Core Edition – Porting Guide”) for important general information on the Open NFC software stack.
Back to top 
Compilation quick HOWTO
In order to compile the stack, you need the software environment described in the Requirements section below. Then, you should compile the projects in the following order (the following procedure assumes you build all the projects in “release” mode):
- \core\porting\win32\win32_nfc_hal_simulator.sln: this builds the NFC HAL module for interacting with the NFC Simulator via the Connection Center.
- \core\porting\win32\win32_monolithic.sln (project: monolithic_porting): this builds the Open NFC stack as a single DLL (monolithic_porting) that can be used to build the examples.
- \core\porting\win32\win32_examples\win32_test.sln: This contains all the test applications. You can for example build the test_reader project. First go to the project properties, under Linker / Input, and replace the “..\client_porting.lib” with “..\..\release\monolithic_porting.lib” you just compiled, then build the project.
- Copy the nfc_hal_simulator.dll, monolithic_porting.dll from \core\porting\win32\release and test_reader.exe from \core\porting\win32\win32_examples\release in one single directory.
- Start the Connection Center executable
- Start the NFC Simulator executable (this adds some logs in the Connection Center windows)
- Run the command:
test_reader.exe cc:nfcc_hal
- Emulate a tag presentation in front of the antenna by double-clicking on a virtual card file in the NFC simulator; the test_reader application should read and display its contents.
- Refer to the Connection Center, NFC Simulator, and Win32 Examples documentation for more information
Congratulation! You are now able to use the Open NFC stack in Win32 environment.
Back to top 
Requirements
The source code of Open NFC is portable C code that should compile with any C99-compliant compiler.
You will need the Microsoft Visual C++ 2010 Redistributable Package (x86, x64) to execute the pre-compiled applications under Windows.
In order to build and compile the stack in the Win32 environment, we provide the porting files. You will need:
A few Win32 example applications are provided in the porting. You can re-compile and run these applications. For doing so, you need to:
- Running the Connection Center tool.
- Using the NFC Simulator or a real NFC device connected to the Connection Center, such as the Evaluation Kit.
- Depending on how Open NFC was compiled, you will need to start a “server_porting.exe” application before starting the examples (that are linked with the “client_porting.dll” by default).
Please check the embedded documentation on running the Win32 examples for details on the command-line arguments.
Back to top 
Recent news in this Edition
2012/03/19
We are happy to release today the version 4.4.1 of our OpenNFC stack. This new release includes: Core Edition SDK Edition Linux Edition and NFC HAL for MicroRead Edition. For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the Release Notes included in [...]
Read the rest of this entry...
Back to top 
2011/12/13
We are happy to release today the version 4.3.3 of our OpenNFC stack. This new release includes: Core Edition SDK Edition Linux Edition and NFC HAL for MicroRead Edition. For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the Release Notes included in [...]
Read the rest of this entry...
Back to top 
2011/11/07
We are happy to release today the version 4.3.2 of our OpenNFC stack. This new release includes: Core Edition SDK Edition (previously called PC Edition) Linux Edition and NFC HAL for MicroRead Edition. For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the [...]
Read the rest of this entry...
Back to top 
Click here to see older news.
Open NFC 4.4.1 (13312) is released.
We are happy to release today the version 4.4.1 of our OpenNFC stack.
This new release includes:
- Core Edition
- SDK Edition
- Linux Edition
- and NFC HAL for MicroRead Edition.
For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the Release Notes included in each package.
The following are the main changes. Beware, there are changes in the API of the library in this version!
Core Edition:
- New API to register handlers on NDEF message. Works for both cards and P2P (SNEP or NPP). Improved caching mechanism. The previous WNDEFReadMessageOnAnyTag is superseeded and deprecated.
- New implementation of the 7816 state machine; more robust.
- Mifare Classic support can be added through a Mifare Classic HAL module.
- New functions to retrieve string representation of some constants (properties, errors)
- Changes in the Security Stack API (SIM Alliance 2.0.2) and features. The Security HAL API has changed.
- Ability to include / exclude features in the porting_config.h files.
- and many bug fixed as usual, please refer to the release notes of the Core Edition for more details.
NFC HAL for MicroRead:
- Fix behavior of the pulse interval setting when Card Detect is enabled.
- Support for the Mifare Classic HAL.
- Bug fixes.
Please note that this release does not include the Android edition.
Open NFC 4.3.3 (12271) is released.
We are happy to release today the version 4.3.3 of our OpenNFC stack.
This new release includes:
- Core Edition
- SDK Edition
- Linux Edition
- and NFC HAL for MicroRead Edition.
For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the Release Notes included in each package.
The following are the main changes:
Core Edition:
- Improved memory management
- Removed deprecated and unused code
- Improved testing system
- New (optional) mechanism to protect against some deadlock situations
- Some types are renamed: tchar to char16_t, sint*_t to int*_t, and bool to bool_t. You may have to refactor your client applications accordingly.
- Improved P2P interoperability and stability.
- and many bug fixes, please refer to the release notes of the Core Edition for more details.
NFC HAL for MicroRead:
- Changes in firmware version string format.
- Fixes related to the Security Stack.
- This version comes with Loader 7.11a and Firmware 7.15a. Important: These loaders and firmware can only be used together, they are not backward compatible with older firmwares and loaders. As usual, we recommend that you flash your MicroRead or SecuRead chip with this version of loader and firmware (then your customized parameters) before using this version of the stack.
Please note that this release does not include the Android edition.
As usual, please report your question / problems to the project new mailing-list: Open-NFC-Help@lists.sourceforge.net.
Thanks!
The Open NFC team.
Open NFC 4.3.2 (11808) is released.
We are happy to release today the version 4.3.2 of our OpenNFC stack.
This new release includes:
- Core Edition
- SDK Edition (previously called PC Edition)
- Linux Edition
- and NFC HAL for MicroRead Edition.
For a complete description of what is included in each Edition, please refer to the website (http://www.open-nfc.org) and the contents of the Release Notes included in each package.
The following are the main changes:
- Several bugs fixed in the P2P functions, improving overall stability of the operation
- Fixes in the API documentation
- other random fixes, please refer to the release notes of the Core Edition for more details.
Please note that this release does not include the Android edition.
As usual, please report your question / problems to the project new mailing-list: Open-NFC-Help@lists.sourceforge.net.
Thanks!
The Open NFC team.