NFC Use Cases
The project provides an example of working with NFC stack. The project demonstrates the available functionality and its use.
Build status:
Table of Contents
- Compatibility
- Build features
- Branch info
- Install and running
- Screenshots
- Use cases
- Project Structure
- Terms of Use and Participation in Development
Compatibility
The project is compatible with all current versions of the Aurora OS.
Build features
The project is built via the ru.auroraos.NfcUseCases.pro file.
Branch info
Application versions conform to the branch naming convention
Install and running
Installation and build are performed according to the Build example instruction.
If you encounter the error libpcsclite development package not found on Linux, you can install this package using the command libpcsclite development package not found.
When launching the application for the first time, you need to grant it all required permissions:
Screenshots
Use cases
The application demonstrates an example of working with D-Bus interfaces PCSC and NFCD. More information about working with NFCD interfaces can be found here.
Project Structure
The project has a standard structure of an application based on C++ and QML for Aurora OS.
- ru.auroraos.NfcUseCases.pro file describes the project structure for the qmake build system.
- icons directory contains the application icons for different screen resolutions.
-
qml directory contains the QML source code and the UI resources.
- components directory contains the custom UI components.
- cover directory contains the application cover implementations.
- images directory contains the additional custom UI icons.
- pages directory contains the application pages.
- js directory contains scripts for converting custom data types to strings.
- NfcUseCases.qml file provides the application window implementation.
-
rpm directory contains the rpm-package build settings.
- ru.auroraos.NfcUseCases.spec file is used by rpmbuild tool.
-
src directory contains the C++ source code.
- ru.auroraos.NfcUseCases.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.NfcUseCases.desktop file defines the display and parameters for launching the application.
-
submodules directory contains implementations of modules to work with NFC.
- The PCSC Lite module provides the ability to detect the connection of NFC tags and output a basic information on them. Also, when initializing this module, a list with tag attributes and corresponding information is downloaded, which later also outputs on the screen.
- The NFCD module is a DBus service for interaction with which a number of DBus interfaces are implemented. A QML wrapper is implemented for each interface class.
Terms of Use and Participation in Development
The source code of the project is provided under license, which allows to use it in third-party applications.
To participate in the development of the project, please read the member agreement. If you plan to submit your own source code for inclusion in the project, you will need to accept the CLA terms and conditions.
Participant information is listed in the AUTHORS file.
The Code of Conduct is the current set of rules of the Open Mobile Platform Company, which informs about the expectations for interaction between community members when communicating and working on projects.

