mirror of
https://github.com/trussed-dev/iso7816.git
synced 2026-06-20 04:16:14 -07:00
Simplify adpu-manager logic, rename to apdu-dispatch
This commit is contained in:
committed by
Nicolas Stalder
parent
7bc2131edb
commit
63470f239c
+5
-2
@@ -2,9 +2,12 @@
|
||||
// #![no_std]
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type U3076 = <heapless::consts::U2048 as core::ops::Add<heapless::consts::U1024>>::Output;
|
||||
pub type U3072 = <heapless::consts::U2048 as core::ops::Add<heapless::consts::U1024>>::Output;
|
||||
#[allow(non_camel_case_types)]
|
||||
pub type MAX_COMMAND_DATA = U3076;
|
||||
pub type MAX_COMMAND_DATA = U3072;
|
||||
|
||||
// 7816-4, 8.2.1.2
|
||||
pub type Aid = heapless::ByteBuf<heapless::consts::U16>;
|
||||
|
||||
pub mod command;
|
||||
pub mod response;
|
||||
|
||||
Reference in New Issue
Block a user