Skip to content

Add file 0xdf00 to KSX6924 file selectors#213

Merged
codebutler merged 4 commits intomasterfrom
feat/ksx6924-read-file-df00
Feb 15, 2026
Merged

Add file 0xdf00 to KSX6924 file selectors#213
codebutler merged 4 commits intomasterfrom
feat/ksx6924-read-file-df00

Conversation

@codebutler
Copy link
Owner

Summary

  • Adds file 0xdf00 (decimal 57088) to KSX6924 file selectors to match Metrodroid behavior
  • This file is read for T-Money cards but may not exist on all KSX6924 cards
  • ISO7816CardReader handles missing files gracefully

Reference

  • Metrodroid: metrodroid/.../KSX6924Application.kt:199-204

Test Plan

  • CI build verification
  • Manual testing with T-Money card (if available)

Generated with Claude Code

codebutler and others added 3 commits February 15, 2026 02:12
Fixes #191

The old FareBot CEPASProtocol manually built APDU commands but omitted
the Le (expected response length) byte, causing cards to reject with
6D00 (instruction not supported). Replaced with Metrodroid's approach
that delegates to ISO7816Protocol.sendRequest() for proper APDU framing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Metrodroid reads file 0xdf00 (decimal 57088) for T-Money cards in
addition to files 1-5. This file may not exist on all KSX6924 cards,
but ISO7816CardReader handles missing files gracefully.

Ref: metrodroid/.../KSX6924Application.kt:199-204

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codebutler codebutler force-pushed the feat/ksx6924-read-file-df00 branch from 50dd19c to 8ea2d2d Compare February 15, 2026 07:12
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codebutler codebutler merged commit d6e4807 into master Feb 15, 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.

1 participant