Repository navigation
spec: tag index / tag count at 0x0D[3], index first (0x12 = tag 1 of 2) - #27
Merged
Merged
Conversation
Amends the v2.2 byte before any SDK ships it. The high nibble is now the index and the low nibble the count, so the hex reads the way a person says it: 0x12 is tag 1 of 2, 0x22 tag 2 of 2, 0x11 a single tag. The fields are named tag index / tag count: what is counted is the TigerTags on a spool (a twin tag carries two); "chip" stays for the NTAG itself.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Amends the v2.2 byte merged in #26, before either SDK releases it.
0x210x120x220x220x110x110x200x02Why
0x12= 1 of 2.Unchanged:
0x00= unknown (every tag written before v2.2), all tags of a spool share the Timestamp, index 1..count, not covered by the signature.Changes
README.md: memory-map row, section 2.11 Tag index & tag count (encoding table, C snippet, examples, rules), cross-reference from 2.9, compact offset map, v2.2 history line.llms.txt: offset map and encoding note.assets/chip_layout.svg: page 0x0D cell Tags, "e.g. 0x12 = tag 1 of 2".Sample code/parse_tigertag.py:tag_info/tag_index/tag_count, new nibble order; round-trip checked for 0x00, 0x11, 0x12, 0x22, 0x02.tools/docs_check.pypasses. The Python and JavaScript SDKs are being updated to the same names and order on theirfeat/chip-count-indexbranches.