If an applet is not selected, it returns NOT_FOUND on every command.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
e84258c434
commit
a36a89cc95
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ int process_apdu() {
|
|||
if (current_app && current_app->process_apdu) {
|
||||
return current_app->process_apdu();
|
||||
}
|
||||
return set_res_sw(0x6D, 0x00);
|
||||
return set_res_sw(0x6a, 0x82);
|
||||
}
|
||||
|
||||
size_t apdu_process(uint8_t itf, const uint8_t *buffer, size_t buffer_size) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue