I also presented a sample Hello World application in "PCSC sample in C for UEFI".
Source code
The source code of my implementation of the protocol is available in my github edk2 project. Be sure to use theSmartCard
branch.The source code of the Hello World application and some other test/debug tools is available in my github UEFI-SmartCardReader-Samples project.
Integration in TianoCore
My "Smart Card Reader Protocol" implementation is a port of my CCID driver. So the core of the driver uses the same GNU LGPL v2+ license.I proposed my implementation on the edk2-devel mailing list in "[edk2] [PATCH 0/4] Add an implementation of EFI_SMART_CARD_READER_PROTOCOL".
Unfortunately the copyleft license GNU LGPL v2+ is a problem for some TianoCore members. So my code was not integrated in TianoCore (a reference implementation of UEFI) and I moved to something else.