Skip to content

Fix TigerTag "New Fields" fixture and message comments - #2

Closed
TigerTag-Project wants to merge 1 commit into
physicsG:feature/tigertag-message-bedtempfrom
TigerTag-Project:fix-pr18-tigertag-fixture
Closed

TigerTag-Project wants to merge 1 commit into
physicsG:feature/tigertag-message-bedtempfrom
TigerTag-Project:fix-pr18-tigertag-fixture

Conversation

@TigerTag-Project

@TigerTag-Project TigerTag-Project commented Oct 13, 2026 •

Copy link
Copy Markdown

Hi @physicsG, thanks for adding the custom message and bed temperature to the TigerTag parser!

This PR targets your branch for suchmememanyskill#18, so the fixes land directly in your PR.

Changes

  • Synthetic fixture header: once Add GenericFilament fields and update TigerTag reading suchmememanyskill/OpenRFID#18 is merged with the current upstream main, test_physical_dump_preserves_processor_output[New Fields TigerTag] fails with KeyError: 0. The new reader test (from the NTAG216 support) reads the NTAG size byte from the capability container (byte 14), and the synthetic .bin had zeros there. build_tigertag_fixture.py now writes a real NTAG215 header: a 7-byte UID with its BCC check bytes, plus the capability container E1 10 3E 00.
  • Nozzle temperatures: the fixture had min 230 / max 190. They are swapped to min 190 / max 230.
  • Comments: the current TigerTag spec defines the custom message as 28 bytes of free UTF-8 text at +48 (pages 0x10-0x16). There is no reserved emoji prefix anymore; emoji are just regular UTF-8 characters. The comments in constants.py and processor.py now say this, and note that +76..+78 is Measure Available (not reserved). The parsing code is unchanged, since it already matches the spec.

.bin and .yml were regenerated with test/scripts/build_tigertag_fixture.py.

Tests

  • On this branch: 27 passed, 1 skipped
  • Merged with current upstream main: 97 passed, 1 skipped

- Give the synthetic fixture a real NTAG215 header (UID with BCC bytes and
  capability container), so the reader's physical-size check can read it
- Swap the inverted nozzle temperatures (min 190, max 230)
- Update comments to match the current TigerTag spec: the custom message
  is 28 bytes of free UTF-8 text with no reserved emoji prefix
@TigerTag-Project
TigerTag-Project force-pushed the fix-pr18-tigertag-fixture branch from 1be66a4 to 9e98e26 Compare October 13, 2026 20:13
@TigerTag-Project

Copy link
Copy Markdown
Author

Closing in favour of suchmememanyskill#32, which includes your commits plus this fix directly against upstream.

@TigerTag-Project
TigerTag-Project deleted the fix-pr18-tigertag-fixture branch October 13, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant