- Apply appsvc changes.
authorWonkyu Kwon <wonkyu.kwon@samsung.com>
Tue, 4 Sep 2012 05:40:59 +0000 (14:40 +0900)
committerWonkyu Kwon <wonkyu.kwon@samsung.com>
Tue, 4 Sep 2012 05:40:59 +0000 (14:40 +0900)
Change-Id: Ia6135c783e69b1ca581cc5d8f9ea88fd645522e1

.gitignore [new file with mode: 0644]
src/clientlib/include/net_nfc.h
src/manager/net_nfc_app_util.c

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..7fc828e
--- /dev/null
@@ -0,0 +1 @@
+gbs_temp
index 70d3094ab5ff23f6d78537a45313135fee0a56d0..195d21b50c1790cba5d6845a425a303229b93174 100644 (file)
 extern "C" {
 #endif
 
-#define NET_NFC_SERVICE_EMPTY_TYPE "http://tizen.org/appsvc/operation/nfc_empty_type"
-#define NET_NFC_SERVICE_WELL_KNOWN_TYPE "http://tizen.org/appsvc/operation/nfc_well_known_type"
-#define NET_NFC_SERVICE_EXTERNAL_TYPE "http://tizen.org/appsvc/operation/nfc_external_type"
-#define NET_NFC_SERVICE_MIME_TYPE "http://tizen.org/appsvc/operation/nfc_mime_type"
-#define NET_NFC_SERVICE_URI_TYPE "http://tizen.org/appsvc/operation/nfc_uri_type"
+#define NET_NFC_SERVICE_EMPTY_TYPE "http://tizen.org/appcontrol/operation/nfc_empty_type"
+#define NET_NFC_SERVICE_WELL_KNOWN_TYPE "http://tizen.org/appcontrol/operation/nfc_well_known_type"
+#define NET_NFC_SERVICE_EXTERNAL_TYPE "http://tizen.org/appcontrol/operation/nfc_external_type"
+#define NET_NFC_SERVICE_MIME_TYPE "http://tizen.org/appcontrol/operation/nfc_mime_type"
+#define NET_NFC_SERVICE_URI_TYPE "http://tizen.org/appcontrol/operation/nfc_uri_type"
 
 /**
 
index 811b378b552f532fafcd5d164d9f3c163eec4e96..d74b9f3fc58617494e42213ea0ec58176b87c898 100644 (file)
@@ -390,24 +390,24 @@ static bool _net_nfc_app_util_get_operation_from_record(ndef_record_s *record, c
        switch (record->TNF)\r
        {\r
        case NET_NFC_RECORD_WELL_KNOWN_TYPE :\r
-               op_text = "http://tizen.org/appsvc/operation/nfc_well_known_type";\r
+               op_text = "http://tizen.org/appcontrol/operation/nfc_well_known_type";\r
                break;\r
        case NET_NFC_RECORD_MIME_TYPE :\r
        {\r
                if (__check_is_sbeam_record(record))\r
-                       op_text = "http://tizen.org/appsvc/operation/nfc_sbeam_receive";\r
+                       op_text = "http://tizen.org/appcontrol/operation/nfc_sbeam_receive";\r
                else\r
-                       op_text = "http://tizen.org/appsvc/operation/nfc_mime_type";\r
+                       op_text = "http://tizen.org/appcontrol/operation/nfc_mime_type";\r
        }\r
                break;\r
        case NET_NFC_RECORD_URI : /* Absolute URI */\r
-               op_text = "http://tizen.org/appsvc/operation/nfc_uri_type";\r
+               op_text = "http://tizen.org/appcontrol/operation/nfc_uri_type";\r
                break;\r
        case NET_NFC_RECORD_EXTERNAL_RTD : /* external type */\r
-               op_text = "http://tizen.org/appsvc/operation/nfc_external_type";\r
+               op_text = "http://tizen.org/appcontrol/operation/nfc_external_type";\r
                break;\r
        case NET_NFC_RECORD_EMPTY : /* empty_tag */\r
-               op_text = "http://tizen.org/appsvc/operation/nfc_empty_type";\r
+               op_text = "http://tizen.org/appcontrol/operation/nfc_empty_type";\r
                break;\r
        case NET_NFC_RECORD_UNKNOWN : /* unknown msg. discard it */\r
        case NET_NFC_RECORD_UNCHAGNED : /* RFU msg. discard it */\r
@@ -842,7 +842,7 @@ int net_nfc_app_util_launch_se_transaction_app(uint8_t *aid, uint32_t aid_len, u
        /* launch */\r
        bd = bundle_create();\r
 \r
-       appsvc_set_operation(bd, "http://tizen.org/appsvc/operation/nfc_se_transaction");\r
+       appsvc_set_operation(bd, "http://tizen.org/appcontrol/operation/nfc_se_transaction");\r
        appsvc_set_uri(bd, aid_string);\r
        appsvc_add_data(bd, "data", param_string);\r
 \r