diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/nfctype1.c | 2 | ||||
-rw-r--r-- | plugins/nfctype2.c | 2 | ||||
-rw-r--r-- | plugins/nfctype3.c | 2 | ||||
-rw-r--r-- | plugins/nfctype4.c | 2 | ||||
-rw-r--r-- | plugins/p2p.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/nfctype1.c b/plugins/nfctype1.c index 8b65ae6..5bc6e3f 100644 --- a/plugins/nfctype1.c +++ b/plugins/nfctype1.c @@ -518,7 +518,7 @@ static int nfctype1_write_tag(uint32_t adapter_idx, uint32_t target_idx, } static struct near_tag_driver type1_driver = { - .type = NEAR_TAG_NFC_TYPE1, + .type = NFC_PROTO_JEWEL, .priority = NEAR_TAG_PRIORITY_DEFAULT, .read_tag = nfctype1_read_tag, .add_ndef = nfctype1_write_tag, diff --git a/plugins/nfctype2.c b/plugins/nfctype2.c index 7e97d31..56e1ede 100644 --- a/plugins/nfctype2.c +++ b/plugins/nfctype2.c @@ -432,7 +432,7 @@ out: } static struct near_tag_driver type2_driver = { - .type = NEAR_TAG_NFC_TYPE2, + .type = NFC_PROTO_MIFARE, .priority = NEAR_TAG_PRIORITY_DEFAULT, .read_tag = nfctype2_read_tag, .add_ndef = nfctype2_write_tag, diff --git a/plugins/nfctype3.c b/plugins/nfctype3.c index 11fd741..16eded8 100644 --- a/plugins/nfctype3.c +++ b/plugins/nfctype3.c @@ -645,7 +645,7 @@ static int nfctype3_write_tag(uint32_t adapter_idx, uint32_t target_idx, } static struct near_tag_driver type1_driver = { - .type = NEAR_TAG_NFC_TYPE3, + .type = NFC_PROTO_FELICA, .priority = NEAR_TAG_PRIORITY_DEFAULT, .read_tag = nfctype3_read_tag, .add_ndef = nfctype3_write_tag, diff --git a/plugins/nfctype4.c b/plugins/nfctype4.c index 1635376..a1a41e5 100644 --- a/plugins/nfctype4.c +++ b/plugins/nfctype4.c @@ -720,7 +720,7 @@ static int nfctype4_write_tag(uint32_t adapter_idx, uint32_t target_idx, } static struct near_tag_driver type4_driver = { - .type = NEAR_TAG_NFC_TYPE4, + .type = NFC_PROTO_ISO14443, .priority = NEAR_TAG_PRIORITY_DEFAULT, .read_tag = nfctype4_read_tag, .add_ndef = nfctype4_write_tag, diff --git a/plugins/p2p.c b/plugins/p2p.c index a23d9ff..47b9cab 100644 --- a/plugins/p2p.c +++ b/plugins/p2p.c @@ -175,7 +175,7 @@ static int p2p_read(uint32_t adapter_idx, } static struct near_tag_driver p2p_driver = { - .type = NEAR_TAG_NFC_DEP, + .type = NFC_PROTO_NFC_DEP, .priority = NEAR_TAG_PRIORITY_HIGH, .read_tag = p2p_read, }; |