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

Begin ITSO card support #56

Closed
wants to merge 21 commits into from
Closed

Conversation

rjmunro
Copy link

@rjmunro rjmunro commented Aug 6, 2013

ITSO is the UK national standard for contactless travel.

So far, I have collected 23 routes from 3 companies in Oxford. There are probably around 100 companies and thousands of routes on the whole system. I've only supported MiFare DESFire cards, as that is all I have access to but other card types are supported by the system.

I'm putting this PR up so that people can comment on my code - I'm trying to learn native Android development, and am not really sure what I am doing. Once the code is tidy, it may be good to get it merged and we can start crowdsourcing all the routes and companies, but it's not ready yet.

Currently, my card displays nothing in the balance tab (my own card doesn't have a balance, it has unlimited travel up to an expiry date, but N trip cards are available for some routes) and the last 2 trips in the trips tab as that seems to be all that is stored. For some reason, the times of the trips are not showing, even though, as far as I know I am decoding and passing them as part of the timestamp.

@codebutler
Copy link
Owner

This is really awesome! Is it possible for you to post an XML dump of a few cards so I can test this out? You can email them to me (eric@codebutler.com) if you'd rather not share publicly.

Thanks for your work!

@codebutler
Copy link
Owner

Hey,

I rebased your code and pushed it to a branch 476388f. Do you think you'll have any time to fix all the TODOs so this can get merged in?

Thanks!

@rjmunro
Copy link
Author

rjmunro commented Oct 6, 2014

Do you not have any comments about the quality of the code?

@codebutler
Copy link
Owner

@rjmunro I did make a few changes to better match the style of the rest of the codebase, happy to answer any specific questions.

@codebutler
Copy link
Owner

@rjmunro do you still plan to work on this?

@codebutler
Copy link
Owner

I'm closing this for now. @rjmunro let me know if you'd like to pick this up again.

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