Change the type name of the last record.
ndeftool typename [OPTIONS] TYPE
ndeftool tn [OPTIONS] TYPE
The typename command either changes the current last record's type (NDEF Record TNF and TYPE) or, if the current message does not have any records, creates a record with the given record type. The changed record is verified to successfully encode and decode unless disabled with -x.
-x, --no-check
Do not check decoding after type name change.
--help
Show this message and exit.
Create a record with text/plain mime type and no payload.
ndeftool typename 'text/plain' print
Create a plain text record and add some payload.
ndeftool typename 'text/plain' payload 'Hello World' print
Create a record with a payload that does not match the record type.
ndeftool payload 'Hello World' typename -x 'urn:nfc:wkt:T' print -l