You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Formats a MIFARE Ultralight / NTAG tag for NDEF: writes the Capability Container and an empty
NDEF message. Needed before hf mfu ndefwrite will touch a tag. nfc type2 format alias added.
hf mfu format
hf mfu format -v
hf mfu format --erase
hf mfu format -k FFFFFFFF
hf mfu format -d E1101200 --force
Per-type values and data sheet citations: doc/mfu_ndef_format_notes.md.
Nice,
how ever this shouldn't be in "hf mfu" it should only be in "nfc type2" since format would give the wrong impression you are wiping or preparing a tag normally. Not to mention "hf mfu" is starting to have too many commands.
You're right about the naming. Would hf mfu ndefformat work instead? That matches what the other chip trees already do hf 14a ndefformat, hf mf ndefformat, hf mfp ndefformat and hf mfu is currently the only one with ndefread/ndefwrite but no ndefformat. The ndef prefix makes the scope obvious without relying on the tree name for context.
nfc type2 format stays either way. If you'd still rather have it only there, I'll drop the hf mfu side.
About moving everything under nfc, happy to do it, but it's bigger than this PR. Should I do just hf mfu, or all of them(hf 14a/hf mf/hf mfp) ? It can be a separate PR so this one isn't held up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Formats a MIFARE Ultralight / NTAG tag for NDEF: writes the Capability Container and an empty
NDEF message. Needed before
hf mfu ndefwritewill touch a tag.nfc type2 formatalias added.Per-type values and data sheet citations:
doc/mfu_ndef_format_notes.md.