I need to compare the UID of a tag that i get from this library with the UID of the same tag from a python script, but the values are different. How is the UID formatted? I guess it's also an array originally that is formatted to be readable?
I'm using your library like this:
await NfcManager.requestTechnology([NfcTech.Ndef])
const tag = await NfcManager.getTag()
const id = tag.id // UID is 0451AAC3790000
And in my Python script the UID is:
[136, 4, 81, 170, 119] // bytes
880451AA77 // as a hex string
No matter how i try to convert the numbers, i don't get them to match. Any help would be much appreciated!
I need to compare the UID of a tag that i get from this library with the UID of the same tag from a python script, but the values are different. How is the UID formatted? I guess it's also an array originally that is formatted to be readable?
I'm using your library like this:
And in my Python script the UID is:
No matter how i try to convert the numbers, i don't get them to match. Any help would be much appreciated!