payload¶
Change the payload of the last record.
Synopsis¶
ndeftool payload [OPTIONS] DATA
ndeftool pl [OPTIONS] DATA
Description¶
The payload command either changes the current last record’s data (NDEF
Record PAYLOAD) or, if the current message does not have any records, creates a
record with the given record data. The changed record is verified to
successfully encode and decode unless disabled with -x
.
The data string may contain hexadecimal bytes using xNN
notation where
each N is a nibble from [0-F].
Options¶
- -x, --no-check¶
Do not check decoding after type name change.
- --help¶
Show this message and exit.
Examples¶
Create a plain text payload record.
Create an NFC Forum Text record with language code and content.
Create a record with a payload that does not match the record type. The first command creates an NFC Forum Text Record with language code identifier and text content. The second command then replaces the payload with just the text and would make decoding fail.