solo2
solo2 copied to clipboard
WIP: Refactor NFC
WIP / do not merge, however feedback is welcome!
Several goals:
- rename the iso14443 library to
nfc-device, bringing it in closer analogy withusb-device. - this then turns
fm11nc08into something analogous to aUsbBusimplementation - remove dependency of
fm11nc08on 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
iso7816itself (not optimal, but better than inapdu-dispatch, IMO) to avoid a dependency ofusbd-ccidandnfc-deviceonapdu-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.
stale, will redo