Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
The script uses an heuristic method to find the country code. Apparently it 
doesn't work with the Italian Venice transport operator data. I'm not sure I 
can fix this. 

Original comment by [email protected] on 22 Jan 2012 at 11:22

  • Changed state: Accepted

from cardpeek.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
I also have a problem reading the country code on the Israeli calypso transport 
card (RavKav).
calypso.lua does this:
    country_bin = bytes.sub(data,13,24)
    network_bin = bytes.sub(data,25,36)
but the Israeli Calypso Spec says:
    version     = bytes.sub(data,0,2)
    country_bin = bytes.sub(data,3,14)
    issuer_id   = bytes.sub(data,15,22)
    app_number  = bytes.sub(data,23,48)
    ...etc.
So the country code is at a different offset!

Original comment by [email protected] on 7 May 2013 at 9:35

from cardpeek.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
This is unfortunate. I was hoping that the country code would be always at the 
same place, as was verified on French and Belgian cards. I guess that detecting 
the card country is going to be more complicated than I was hoping. Perhaps I 
will have to rely on the ATR or something.

Would you have the specs of the RavKav card to share with me <L1L1 _at_ 
gmx.com>? Perhaps I can figure out something form them.

Original comment by [email protected] on 7 May 2013 at 10:51

from cardpeek.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 20, 2024
I will close this issue since the network detection algorithm has changed a lot 
in Cardpeek.
If I get access one day to the specs of the venice transport card, we might be 
able to add it to cardpeek.

Original comment by [email protected] on 27 Apr 2014 at 2:18

  • Changed state: WontFix

from cardpeek.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.