solo2 icon indicating copy to clipboard operation
solo2 copied to clipboard

WIP: Refactor NFC

Open nickray opened this issue 5 years ago • 1 comments

WIP / do not merge, however feedback is welcome!

Several goals:

  • rename the iso14443 library to nfc-device, bringing it in closer analogy with usb-device.
  • this then turns fm11nc08 into something analogous to a UsbBus implementation
  • remove dependency of fm11nc08 on lpc55-hal
  • de-C the FM11NC08 driver, adding more types (using bitflags library as elsewhere), using more Rust combinators, using closures to DRY up, etc.
  • define the contact/contactless interchanges in iso7816 itself (not optimal, but better than in apdu-dispatch, IMO) to avoid a dependency of usbd-ccid and nfc-device on apdu-dispatch, which is more opinionated and particular to us
  • fix minor regressions

Out of scope is a closer re-union of apdu-dispatch and [ctap]hid-dispatch.

nickray avatar Oct 09 '20 23:10 nickray

stale, will redo

nickray avatar Jan 06 '21 20:01 nickray