https://github.com/trussed-dev/apdu-dispatch
https://github.com/trussed-dev/apdu-dispatch
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/trussed-dev/apdu-dispatch
- Owner: trussed-dev
- License: apache-2.0
- Created: 2021-04-25T15:28:14.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T08:25:48.000Z (over 1 year ago)
- Last Synced: 2025-05-21T01:31:41.984Z (about 1 year ago)
- Language: Rust
- Size: 98.6 KB
- Stars: 2
- Watchers: 4
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Apdu Dispatch
This repository contains two crates:
- [`apdu-app`](./app): provides an `App` trait for applications that accept APDU requests
- [`apdu-dispatch`](./dispatch): a layer that accepts APDU (application packet data units) from a contact and/or contactless interface and passes them to apps implementing `apdu_app::App`. It handles parsing APDU's, chaining, T=0, T=1 and keeps track of the selected application.
Run tests via `cargo test --features std,log-all`