typename¶
Change the type name of the last record.
Synopsis¶
ndeftool typename [OPTIONS] TYPE
ndeftool tn [OPTIONS] TYPE
Description¶
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
.
Options¶
- -x, --no-check¶
Do not check decoding after type name change.
- --help¶
Show this message and exit.
Examples¶
Create a record with text/plain
mime type and no payload.
Create a plain text record and add some payload.
Create a record with a payload that does not match the record type.