Skip to content

NFC: nfcdev and nfc headers#22343

Draft
N11cc00 wants to merge 1 commit into
RIOT-OS:masterfrom
N11cc00:nfc-nfcdev
Draft

NFC: nfcdev and nfc headers#22343
N11cc00 wants to merge 1 commit into
RIOT-OS:masterfrom
N11cc00:nfc-nfcdev

Conversation

@N11cc00

@N11cc00 N11cc00 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Contribution description

This PR continues the effort to introduce an NFC library to RIOT. The nfcdev is supposed to be the interface used for all underlying NFC device drivers. It is in the nfcdev.h.

The other NFC headers in this PR contain specific NFC information taken from the specifications (nfc_a.h, nfc_b.h, nfc_f.h, nfc_v.h). The nfc.h file contains application information that is applicable to all NFC technologies.

The nfcdev interface with its operations is still not set it stone so if there are any suggestions the interface might change. Documentation for all the functions is still missing but the gist is that the poll functions are used to poll for a listener device (e.g. a tag) and the listen function makes the device act as such a listener device and makes it react to a poller.

I will make a longer issue later that tracks the different NFC pull requests. PR is a draft until the things have been addressed.

Issues/PRs references

NDEF: #21272

Declaration of AI-Tools / LLMs usage:

AI-Tools / LLMs that were used are:

  • GitHub Copilot for inline suggestions during code writing

@github-actions github-actions Bot added Platform: native Platform: This PR/issue effects the native platform Area: network Area: Networking Area: tests Area: tests and testing framework Area: build system Area: Build system Area: pkg Area: External package ports Area: drivers Area: Device drivers Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports Area: sys Area: System Area: examples Area: Example Applications labels Jun 3, 2026
@github-actions github-actions Bot removed Platform: native Platform: This PR/issue effects the native platform Area: tests Area: tests and testing framework Area: build system Area: Build system Area: pkg Area: External package ports Area: boards Area: Board ports Area: cpu Area: CPU/MCU ports Area: examples Area: Example Applications labels Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: drivers Area: Device drivers Area: network Area: Networking Area: sys Area: System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant