07-23-2013 10:28 AM
I'm working on a project where I'm trying to process NFC events within my native application, and respond as if it was a secure element. Various articles and demonstration projects have helped me get this going, in particular my code is quite similar to NfcTool.
However, it seems that I'm only able to process incoming NFC events when using an ACR122 reader. When using my (normal use) OmniKey 5321 I ONLY get the NFC_ISO14443_4_EVENT_CODE_EVENT events. I NEVER get any NFC_ISO14443_4_COMMAND_EVENT and thus cannot process or return any APDUs. I'm using GPShell and I'm definitely connected to the contactless driver of the omnikey.
I was wondering whether anyone knew whether all readers were supported, or whether there was a trick in the identifier or historical data to make it work on omnikey readers? In the mean time I'll keep on using the ACR reader, but I do need to understand whether all readers should be supported.
07-23-2013 11:11 AM
I use an OmniKey 5321 v2, on Windows 7 - and it definitely works with the device.
In fact - i sometimes see too much traffic. Windows 7 queries for security/identity related applets - making it harder to debug what I'm working on.
It also appears that while Windows is talking to the device, GPShell sometimes blocks.
Do you see any errors in GPShell?
Have you disabled any technology types in OmniKey WorkBench?
07-23-2013 11:16 AM
Thanks for the response. I'm on Windows 8 and I'm not sure whether it's v1 or 2, it doesn't say so could be v1.
When using the ACR I am seeing a lot of initialise traffic from windows, a lot of selects on unknown aid's.
GPShell is hanging during a card_connect, and eventually times out (or bails if I remove the phone). I don't have the workbench installed, but I'll install now and try again.
07-23-2013 11:33 AM
I've installed the workbench, no options seem valid & everything I can see is enabled / default. I hit antenna on a couple of times for **bleep**s..
Inspecting this a little further, it seems that I can get it to work if NFC is enabled (nfc_start_iso14443_4_emulation) when the phone is already on the reader. If I enable emulation (i.e. start the app), then place the phone on the reader, I only get the CODE / SELECTED, and nothing beyond.