From a0874248c716c511f291e6d0b887531cd15d0bb4 Mon Sep 17 00:00:00 2001
From: iceman1001 <iceman@iuse.se>
Date: Wed, 8 Apr 2020 13:27:13 +0200
Subject: [PATCH] chg more pm3 fail codes

---
 include/pm3_cmd.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h
index d97fae6ed..6ce271aab 100644
--- a/include/pm3_cmd.h
+++ b/include/pm3_cmd.h
@@ -618,6 +618,11 @@ typedef struct {
 #define PM3_EOUTOFBOUND       -17
 // exchange with card error             client/pm3: error when cant get answer from card or got an incorrect answer
 #define PM3_ECARDEXCHANGE     -18
+
+// Failed to create APDU,
+#define PM3_EAPDU_ENCODEFAIL  -19
+// APDU responded with a failure code
+#define PM3_EAPDU_FAIL        -20
 // No data                              pm3:        no data available, no host frame available (not really an error)
 #define PM3_ENODATA           -98
 // Quit program                         client:     reserved, order to quit the program