The ndeftool
is a command line utility to create or inspect NFC
Data Exchange Format (NDEF) records and messages, released under the
ISC license.
$ ndeftool text "Hello World" id "r1" uri "https://nfcpy.org" save -k "message.ndef" print
Saving 2 records to message.ndef.
NDEF Text Record ID 'r1' Text 'Hello World' Language 'en' Encoding 'UTF-8'
NDEF Uri Record ID '' Resource 'https://nfcpy.org'
The ndeftool
documentation can be found on Read the Docs and the code on GitHub.