File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,17 @@ int SE05XClass::deleteBinaryObject(int objectId)
384
384
return 1 ;
385
385
}
386
386
387
+ int SE05XClass::deleteAllObjects (void )
388
+ {
389
+ sss_se05x_session_t *pSession = (sss_se05x_session_t *)&_boot_ctx.session ;
390
+
391
+ if (SW_OK != Se05x_API_DeleteAll_Iterative (&pSession->s_ctx )) {
392
+ return 0 ;
393
+ }
394
+
395
+ return 1 ;
396
+ }
397
+
387
398
int SE05XClass::getObjectHandle (int objectId, sss_object_t * object)
388
399
{
389
400
sss_status_t status;
Original file line number Diff line number Diff line change 24
24
#include " ex_sss_boot.h"
25
25
#include " fsl_sss_api.h"
26
26
#include " se05x_apis.h"
27
+ #include " se05x_APDU.h"
27
28
28
29
#if defined SE05X_PRINT_ERROR
29
30
#define LOG_E Serial.println
@@ -62,6 +63,7 @@ class SE05XClass
62
63
int writeBinaryObject (int ObjectId, const byte data[], size_t length);
63
64
int existsBinaryObject (int objectId);
64
65
int deleteBinaryObject (int objectId);
66
+ int deleteAllObjects ();
65
67
66
68
int getObjectHandle (int objectId, sss_object_t * object);
67
69
You can’t perform that action at this time.
0 commit comments