abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

CCID: Add support for PC-to-Reader XfrBlock message #131

Closed kidbomb closed 6 years ago

abcminiuser commented 6 years ago

@kidbomb what features are remaining on the CCID module in order to make it generally useful to other LUFA users? Are there any missing features still to be added that are needed to make the CCID demos usable or useful?

kidbomb commented 6 years ago

@abcminiuser In its current state, the CCID module already provides a set of functions to create a minimum usable device. However, applications use high level interfaces and protocols to communicate back and forth with the device instead of the XfrBlock message. These protocols are out of scope for USB CCID and are defined in ISO7816 standard instead. I am currently implementing a ISO7816 library to interface with the files that can be stored in a CCID slot. I'll probably have a demo for it in a couple of weeks.

kidbomb commented 6 years ago

@abcminiuser I have now a branch with a CCID module that can be accessed by opensc-explorer (one of the high level tools I mentioned earlier). In order to do so, I had to add support for the "SetParameter" CCID message and for the "Select by file identifier" ISO7818 command. I'll be creating push requests for each one of the layers to make reviewing easier.

abcminiuser commented 6 years ago

No rush! Just making sure I stay on top of this for once, so it's merged once it's fully ready. Trying to do less feet dragging lately.