From 87e2da9d4e12e0f79c95774ec5b0ab2ba5d1c51e Mon Sep 17 00:00:00 2001 From: Wonkyu Kwon Date: Wed, 16 Oct 2013 13:23:34 +0900 Subject: [PATCH] Modify terminal interface - implement open/close function Change-Id: Ifb078b9ff9cb0f6644c8572b21abbdadcc4ba415 Signed-off-by: Ji-hoon Jung --- UICCTerminal.cpp | 11 +++++++++++ include/UICCTerminal.h | 3 +++ 2 files changed, 14 insertions(+) diff --git a/UICCTerminal.cpp b/UICCTerminal.cpp index 379f829..e00d446 100644 --- a/UICCTerminal.cpp +++ b/UICCTerminal.cpp @@ -209,6 +209,17 @@ namespace smartcard_service_api _END(); } + bool UICCTerminal::open() + { + /* no need to open */ + return true; + } + + void UICCTerminal::close() + { + /* no need to close */ + } + int UICCTerminal::transmitSync(const ByteArray &command, ByteArray &response) { diff --git a/include/UICCTerminal.h b/include/UICCTerminal.h index b9d2c60..6309026 100644 --- a/include/UICCTerminal.h +++ b/include/UICCTerminal.h @@ -57,6 +57,9 @@ namespace smartcard_service_api bool initialize(); void finalize(); + bool open(); + void close(); + bool isSecureElementPresence() const; int transmitSync(const ByteArray &command, ByteArray &response); -- 2.34.1