Tue Jul 23 09:04:52 EDT 2013
Looks like it's on the right path. Some trouble:
- ccid code blocks on card comm -> either poll both rx and tx during
busy wait, or use interrupt / dma transfer.
start from openpcd code since it is already interrupt based?
- protocol is a bit more complex than I thought, so need to see where
this is going by building my specific use case.
- it might be best to write a generic two-sided iso7816 parser that
can handle the 3 cases: host/card/sniff