since it still felt a bit slow, Claude came up with the idea of burst mode transfers. A new sim module firmware 'sim022.bin' and we now can auto-negotiate for TA1 = 0x95 which give us 125 000 bits/s which is almost 10x from the 10752 bits/s we were doing before. Thanks Claude!
This commit is contained in:
1 parent
9c962ed537
commit
377d7cd612
6 files changed
+76
-30
No files matched your search
+6
-1
@@ -513,8 +513,13 @@ typedef struct {
|
||||
uint8_t data[];
|
||||
} PACKED smart_card_raw_t;
|
||||
|
||||
// A PPS has to name a protocol - PPS0 has no "leave it alone" encoding - so
|
||||
// when the caller only wants a rate, ask for the one the card already runs and
|
||||
// the exchange changes nothing but Fi/Di.
|
||||
#define SC_PPS_PROTO_CARD_DEFAULT 0xFF
|
||||
|
||||
typedef struct {
|
||||
uint8_t protocol; // T to select, 0 or 1
|
||||
uint8_t protocol; // T to select, 0 or 1, or SC_PPS_PROTO_CARD_DEFAULT
|
||||
uint8_t ta1; // FI << 4 | DI, only read when use_ta1 is set
|
||||
uint8_t use_ta1;
|
||||
} PACKED smart_card_pps_t;
|
||||
|
||||
Reference in new issue
Block a user