Support stopping sending remaining APDUs
ApduSender supports sending a bunch of APDUs together until any APDU command returns an error (i.e., the reponse status is neither 9000 nor 91xx). There is a case in SGP22 v2.2 that when loading a BPP, the installation result may be returned early with 9000 for an error (e.g., insufficient memory). ApduSender should allow the caller to check the intermediate result to stop sending remaining APDUs and return early. Bug: 131114807 Test: unit test Change-Id: I6b8601c1d2edee6b385dcd8fcfaa9efb90afa11a Merged-In: I6b8601c1d2edee6b385dcd8fcfaa9efb90afa11a (cherry picked from commit e14a2bc478fadb26d75cd8ef3469c7fcd5eb51d3)
Loading
Please register or sign in to comment