identifier

Change the identifier of the last record.

Synopsis

ndeftool identifier [OPTIONS] NAME
ndeftool id [OPTIONS] NAME

Description

The identifier command either changes the current last record’s name (NDEF Record ID) or, if the current message does not have any records, creates a record with unknown record type and the given record name.

Options

--help

Show this message and exit.

Examples

Create a record with unknown type and set the identifier.

System Message: ERROR/3 (/home/docs/checkouts/readthedocs.org/user_builds/ndeftool/checkouts/v0.1.0/docs/commands/identifier.rst, line 40)

Command u”ndeftool identifier ‘record identifier’ print” failed: [Errno 2] No such file or directory

Create two text records with specific identifiers.

System Message: ERROR/3 (/home/docs/checkouts/readthedocs.org/user_builds/ndeftool/checkouts/v0.1.0/docs/commands/identifier.rst, line 44)

Command u”ndeftool text ‘first’ id ‘r1’ text ‘second’ id ‘r2’ print” failed: [Errno 2] No such file or directory