Skip to content

cyberpunkunicorn-os 0.1.6: a write on a card that isn't an NTAG says so - #20

Merged
hellofrequencylab merged 1 commit into
mainfrom
claude/project-thread-lhkr1c
Oct 21, 2026
Merged

hellofrequencylab merged 1 commit into
mainfrom
claude/project-thread-lhkr1c

Conversation

@hellofrequencylab

Copy link
Copy Markdown
Owner

Daniel tested 0.1.5. The card reader works now and found his card instantly (PN532 setup: SAM ok, retries ok). But that card was an ISO 14443-4 card (UID 01020304), not an NTAG. The write selected it again, lost it, and answered write_failed: No card. That made it look like the reader had missed the card.

Changes

  • apps/remote/app_handlers.cpp: if the tapped card is not an NTAG, frequency.write_tag now fails with "Not an NTAG213/215/216 tag". The console already turns that into "use an NTAG card or sticker". The firmware also logs the type and UID of the tapped card.
  • apps/frequency/card.cpp: if writeCard() loses the card between the tap and the write, it now reports a failed write (CARD_WRITE_FAILED) instead of CARD_NONE.
  • build.sh: OS_VERSION is now 0.1.6.

Verification

  • CI build of this branch. I have not run it on hardware: the next check is Daniel writing with an NTAG sticker.

Generated by Claude Code

Daniel's 0.1.5 log: the reader works now and saw his card at once, but the
card was an ISO 14443-4 card (UID 01020304), not an NTAG. The write
selected it again, lost it, and answered 'No card'. A website write now
answers 'Not an NTAG213/215/216 tag' when the tapped card isn't one (the
console already turns that into 'use an NTAG card or sticker'), and logs
what was tapped. A card lost between the tap and the write is reported as a
failed write, not as no card.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015Aw32AU4vVqCSEoNA5aP3U
@hellofrequencylab
hellofrequencylab merged commit 7f15f23 into main Oct 21, 2026
2 checks passed
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.

2 participants