Corrected wrong tutorial
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 22 Sep 2015 04:36:59 +0000 (13:36 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 22 Sep 2015 04:37:49 +0000 (13:37 +0900)
Signed-off-by: Ji-hoon Jung <jh8801.jung@samsung.com>
Change-Id: I0c3f8fbb353ee6db6f422e4e750e8725c105b358

org.tizen.tutorials/html/native/network/nfc_tutorial_n.htm

index 256a080..1f06056 100644 (file)
@@ -809,7 +809,7 @@ if (ret != NFC_ERROR_NONE)
 }
 else
 {
-&nbsp;&nbsp;&nbsp;dlog_print(DLOG_ERROR, LOG_TAG, &quot;nfc_se_is_activated_handler_for_aid is failed : %d&quot;, ret);
+&nbsp;&nbsp;&nbsp;dlog_print(DLOG_ERROR, LOG_TAG, &quot;nfc_se_is_activated_handler_for_category is failed : %d&quot;, ret);
 }
 </pre></li>
 <li>To register or unregister the AID at application runtime, use the <span style="font-family: Courier New,Courier,monospace;">nfc_se_register_aid()</span> and <span style="font-family: Courier New,Courier,monospace;">nfc_se_unregister_aid()</span> functions:
@@ -903,7 +903,7 @@ _hce_event_cb(nfc_se_h handle, nfc_hce_event_type_e event,
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// You can use the arrival apdu and apdu_len
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// and send a response to the NFC reader
 
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nfc_hce_send_apdu_response(handle, NULL, 4);
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nfc_hce_send_apdu_response(handle, resp, 4);
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break;