Return UnsuportedCommand (INVALID_COMMAND) instead of NotAvailable (INVALID_LENGTH)

This allows nitropy to easily skip the test if the command is not supported
This commit is contained in:
Sosthène Guédon
2023-10-02 10:44:43 +02:00
parent 9fcaa35e3e
commit e1179efd7f
+1 -1
View File
@@ -276,7 +276,7 @@ where
}
#[cfg(not(feature = "se050"))]
{
return Err(Error::NotAvailable);
return Err(Error::UnsupportedCommand);
}
}
Command::GetConfig => {