B4X FEED NFC tag how to read the UID

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: NFC tag how to read the UID است. این موضوع تا کنون 39 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع NFC tag how to read the UID
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
39
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi, Guys
Just started a project to handle NFC tags - found Erel's tutorial on read/write NFC tags

[H3] [/H3]
NFC v2.00 adds support for low level access to the NFC features. This allows reading and writing from NFC tags. The NFC library provides three features: - Reading Ndef tags based intent filters: Reading NDEF data from NFC tags - Sending data between two devices (Android Beam)...
برای دیدن تصاویر باید ثبت نام کنید


And it works great for the tags I am using, should be easy to adapt it to fit into my project.

However, I need to also read the tag's UID along with a small amount of tag data (the UID code is used as an encryption key to ensure the tag has not been tampered with or duplicated).


Question is: Is there a simple way to adapt Erel's code to read the UID along with some data from the tag?


I did find another post

[H3] [/H3]
Hello, I'm using the nfc2 library to handle nfc-v tags, calling runasync with transceive (and related byte payload). Is there a way to use the same system to retrieve the Unique Tag Id? As far as i know it should be visible after the _connected event, but i see no way to retrieve it. I'm...
برای دیدن تصاویر باید ثبت نام کنید


but is did not give an detailed example on how to do it (I assume it was posted by someone who knows a lot more about using NFC technologies than me!)

Once again, grateful for any help

Dave Morris

 

عقب
بالا