mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
CCID: App changes (#3837)
- Keep ccid_callback and buffer as private to the iso7816_handler - set usb ccid callback from iso7816_handler (to ensure the right structure is being passed) - make iso7816 related code independent from furi related code (goal is to make it independently testable) - rename vars Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fa2d611652
commit
4a58930247
@@ -34,7 +34,8 @@ typedef struct {
|
||||
uint8_t iso7816_read_command_apdu(
|
||||
ISO7816_Command_APDU* command,
|
||||
const uint8_t* pc_to_reader_datablock,
|
||||
uint32_t pc_to_reader_datablock_len);
|
||||
uint32_t pc_to_reader_datablock_len,
|
||||
uint32_t max_apdu_size);
|
||||
void iso7816_write_response_apdu(
|
||||
const ISO7816_Response_APDU* response,
|
||||
uint8_t* reader_to_pc_datablock,
|
||||
|
||||
Reference in New Issue
Block a user