Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an NFC parser for the San Francisco Bay Area "Clipper" transit card. #3344

Merged
merged 5 commits into from Feb 6, 2024

Conversation

ke6jjj
Copy link
Contributor

@ke6jjj ke6jjj commented Jan 6, 2024

What's new

This is a parser/formatter for the "Clipper" NFC transit card, which is a Mifare DESFire application used in the San Francisco Bay Area. It currently decodes the following fields:

  • Device type (card/mobile)
  • Serial number
  • Cash balance
  • Last update time
  • Last updating terminal
  • Total transaction count

Verification

To verify, use a Flipper zero to read any Clipper card or virtual card (such as the Clipper App for Apple Watch or iOS device). I have tested this decoder against 10 clipper cards and two mobile cards.

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@gornekich
Copy link
Member

Thanks for PR!
Could you please send .nfc file for verification? Clipper app is not available in my region. You can attach file here or send me DM in Discord gornekich

@ke6jjj
Copy link
Contributor Author

ke6jjj commented Jan 10, 2024

Sure. I had refrained from attaching it here due to privacy reasons.

ke6jjj and others added 2 commits January 10, 2024 12:02
@gornekich
Copy link
Member

When I open files that you sent me, flipper crashes when I press Info in card menu. I am working on DESFire fixes right now, can't verify your plugin right now. I will come back once I finish DESFire fixes, hopefully on this week

@ke6jjj ke6jjj requested a review from gsurkov as a code owner January 24, 2024 17:17
Copy link
Member

@gornekich gornekich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this PR after some DESFire fixes - everything works great. Thanks!

@hedger hedger added the New Feature Contains an IMPLEMENTATION of a new feature label Feb 6, 2024
@hedger hedger merged commit a83e421 into flipperdevices:dev Feb 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature Contains an IMPLEMENTATION of a new feature NFC NFC-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants