Code Monkey home page Code Monkey logo

Comments (13)

willimei avatar willimei commented on July 1, 2024 1

I downloaded the update yesterday and it works perfectly.
Thank you!

from mensaguthaben-ios.

kiliankoe avatar kiliankoe commented on July 1, 2024

TU Dresden Campuscard (currently known as technically not possible to read them)

Oh that's very unfortunate :/ Can you elaborate?

from mensaguthaben-ios.

schorschii avatar schorschii commented on July 1, 2024

I do not own a Campuscard myself but had the chance for a quick test with one from the team implementing it as library card in the SLUB. This sample was not working with my app and since it uses a different technology, I'm not even sure if the balance is still stored on this card. Nevertheless, even if it is stored, only authorized applications with its key can read/write specific parts of the card, as the team told me. This means that the mensa can administer their content with their key without being able to view the SLUB part on the card, which is actually a good concept.

from mensaguthaben-ios.

kiliankoe avatar kiliankoe commented on July 1, 2024

That does sound like a very sensible concept, good to know, thanks! But it's a pity that the data is likely not accessible anymore. I'll keep looking for more information or see if the StuWe is willing to shed some light on this.

from mensaguthaben-ios.

willimei avatar willimei commented on July 1, 2024

I have talked to the university about this issue and they said that the Mensa application on the CampusCard is the same as before.
Furthermore it still seems to be possible to read the card with the "Mensa Guthaben" Android App.

So maybe I can provide you some information to fix this issue?

from mensaguthaben-ios.

kiliankoe avatar kiliankoe commented on July 1, 2024

That sounds super interesting! If you have more information to share, that would be fantastic.

from mensaguthaben-ios.

willimei avatar willimei commented on July 1, 2024

This morning I also got the information that the new card is a SmartMX card with a Mifare DESfire EV2 emulation. Because of that the CampusCard needs a higher electromagnetic field strength to boot the emulation.

I have downloaded several NFC Reader Apps on my phone. One of them showed me that the Emeal card is a DESFire EV1 and the CampusCard is a DESFire EV2. Maybe this helps to find the problem in the App implementation.

Can you give me some more advice what I can do to debug this issue?
If needed it will also be possible to meet somewhere if you want to have a look on it by yourself.

from mensaguthaben-ios.

schorschii avatar schorschii commented on July 1, 2024

Thanks for your information. Indeed, the Android app can read the card! I just tested it and it worked. This was new for me, it didn't worked when I tested it previously, obviously too hasty.

Next, I checked the debug output of my code reading a Campuscard, and it prints:


Turns out the card is recognized as NFCTag.iso7816 and not as NFCTag.miFare. It looks like that Android does some kind of conversion automatically, since the Android App did not received an update since years.

Unfortunately, NFCTag.iso7816.sendCommand() takes other parameter than NFCTag.miFare.sendCommand(), so further changes are necessary. Since I still not own a Campuscard myself, I still depend on the test card of my colleague and the story continues tomorrow...

from mensaguthaben-ios.

schorschii avatar schorschii commented on July 1, 2024

I successfully implemented support for the TU Dresden Campuscard. Thanks to @Xivy99 and @PaulS94 for the sample card!

from mensaguthaben-ios.

schorschii avatar schorschii commented on July 1, 2024

@kiliankoe , @willimei any feedback?

from mensaguthaben-ios.

kiliankoe avatar kiliankoe commented on July 1, 2024

Only just now had a chance to look at the code, huge thanks for the update! Just out of curiosity, how did you come across D2760000850100 for the info.plist value?

from mensaguthaben-ios.

schorschii avatar schorschii commented on July 1, 2024

This is the Mifare DESFire Tag application identifier. The campuscard is a NXP SmartMX3 with Mifare DESFire emulation, so we have to select the DESFire functionality with this AID. On iOS, it is necessary to explicitly specify the AIDs to use in the info.plist, on Android, the selection of DESFire seems to work somehow automatically.

from mensaguthaben-ios.

kiliankoe avatar kiliankoe commented on July 1, 2024

Ah, that's good to know, thank you!

from mensaguthaben-ios.

Related Issues (8)

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.