From 372c364b026d83e1cd8cd746297b764b587a4449 Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Thu, 24 Nov 2016 22:10:33 +0100 Subject: [PATCH] fixed compilation problems --- TCardEmulator/.cproject | 55 ++++++++++++++++++-------------- TCardEmulator/src/sap.c | 6 +--- TCardEmulator/tizen-manifest.xml | 2 +- 3 files changed, 33 insertions(+), 30 deletions(-) diff --git a/TCardEmulator/.cproject b/TCardEmulator/.cproject index 6cb138f..b235747 100644 --- a/TCardEmulator/.cproject +++ b/TCardEmulator/.cproject @@ -5,7 +5,6 @@ - @@ -13,16 +12,17 @@ + - + - + - + - + - + @@ -222,7 +223,6 @@ - @@ -230,23 +230,24 @@ + - + - + - - - - - + - - - - - + - @@ -406,7 +413,7 @@ - + diff --git a/TCardEmulator/src/sap.c b/TCardEmulator/src/sap.c index 763e78b..ba7265a 100644 --- a/TCardEmulator/src/sap.c +++ b/TCardEmulator/src/sap.c @@ -59,7 +59,7 @@ void on_peer_agent_updated(sap_peer_agent_h peer_agent, static void on_service_connection_terminated(sap_peer_agent_h peer_agent, sap_socket_h socket, - sap_service_connection_terminated_reason_e result, + sap_service_connection_result_e result, void *user_data) { switch (result) { case SAP_CONNECTION_TERMINATED_REASON_PEER_DISCONNECTED: @@ -139,10 +139,6 @@ static void on_service_connection_created(sap_peer_agent_h peer_agent, request_installed_aids(); break; - case SAP_CONNECTION_IN_PROGRESS: - dlog_print(DLOG_INFO, LOG_TAG, "connection is already in progress"); - break; - case SAP_CONNECTION_ALREADY_EXIST: dlog_print(DLOG_INFO, LOG_TAG, "connection already exists"); priv_data.socket = socket; diff --git a/TCardEmulator/tizen-manifest.xml b/TCardEmulator/tizen-manifest.xml index 89e7f8d..f099c89 100644 --- a/TCardEmulator/tizen-manifest.xml +++ b/TCardEmulator/tizen-manifest.xml @@ -8,8 +8,8 @@ - http://tizen.org/privilege/nfc.cardemulation http://developer.samsung.com/tizen/privilege/accessoryprotocol + http://tizen.org/privilege/nfc.cardemulation true