Comments (13)
I downloaded the update yesterday and it works perfectly.
Thank you!
from mensaguthaben-ios.
TU Dresden Campuscard (currently known as technically not possible to read them)
Oh that's very unfortunate :/ Can you elaborate?
from mensaguthaben-ios.
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.
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.
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.
That sounds super interesting! If you have more information to share, that would be fantastic.
from mensaguthaben-ios.
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.
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.
I successfully implemented support for the TU Dresden Campuscard. Thanks to @Xivy99 and @PaulS94 for the sample card!
from mensaguthaben-ios.
@kiliankoe , @willimei any feedback?
from mensaguthaben-ios.
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.
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.
Ah, that's good to know, thank you!
from mensaguthaben-ios.
Related Issues (8)
- App crashes on trying to read card ID HOT 2
- Add shortcuts action to display the balance HOT 2
- Tested Card for HAW Hamburg HOT 1
- Tested Card for FH Erfurt (Thuringia) HOT 1
- Show Card Status After App Restart
- Tested card for Christian-Albrechts-Universität zu Kiel HOT 1
- Successfully tested card: TH Lübeck (and UzL Lübeck) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mensaguthaben-ios.