const char[] aid = {0x00, 0x01, 0x02, 0x03};
bool is_activated_handler = false;
-ret = nfc_se_is_activated_handler_for_aid(aid, &is_activated_handler);
+ret = nfc_se_is_activated_handler_for_aid(NFC_SE_TYPE_HCE, aid, &is_activated_handler);
if (ret != NFC_ERROR_NONE)
{
dlog_print(DLOG_ERROR, LOG_TAG, "nfc_se_is_activated_handler_for_aid is failed : %d", ret);
}
-ret = nfc_se_is_activated_handler_for_category(NFC_CARD_EMULATION_CATEGORY_PAYMENT,
+ret = nfc_se_is_activated_handler_for_category(NFC_SE_TYPE_HCE, NFC_CARD_EMULATION_CATEGORY_PAYMENT,
&is_activated_handler);
if (ret != NFC_ERROR_NONE)
<pre class="prettyprint">int ret = NFC_ERROR_NONE;
const char[] aid = {0x0A, 0x0B, 0x0C, 0x0D};
-ret = nfc_se_register_aid(NFC_CARD_EMULATION_CATEGORY_OTHER, aid);
+ret = nfc_se_register_aid(NFC_SE_TYPE_HCE, NFC_CARD_EMULATION_CATEGORY_OTHER, aid);
if (ret != NFC_ERROR_NONE)
{
return false;
}
-ret = nfc_se_unregister_aid(NFC_CARD_EMULATION_CATEGORY_OTHER, aid);
+ret = nfc_se_unregister_aid(NFC_SE_TYPE_HCE, NFC_CARD_EMULATION_CATEGORY_OTHER, aid);
if (ret != NFC_ERROR_NONE)
{
// Do something
}
-ret = nfc_se_foreach_registered_aids(NFC_CARD_EMULATION_CATEGORY_OTHER, _registered_aid_cb, NULL);
+ret = nfc_se_foreach_registered_aids(NFC_SE_TYPE_HCE, NFC_CARD_EMULATION_CATEGORY_OTHER, _registered_aid_cb, NULL);
if (ret != NFC_ERROR_NONE)
{