Does NFC has something like an unique adress?
Because the nfc examples in the sdk detect all nfc devices. But I would like to detect only predefined devices.
Or is there another way to detect only specific defined devices trough nfc?
Does NFC has something like an unique adress?
Because the nfc examples in the sdk detect all nfc devices. But I would like to detect only predefined devices.
Or is there another way to detect only specific defined devices trough nfc?
NFC tags has a unique address and are required to have it. However, I won't solve your issue.
I assume you are talking about nRF52 examples, in which case your statement on detection is somewhat mistaken. nRF52 will be an NFC tag and will therefore be detected by devices, not the other way round. In particular, and related to spec compliance, the device will request the ID of the tag. So the device can identify the tag, but the tag has no way of identifying a device.
By design an NFC tag is passive device that doesn't decide anything on its own. And for the ID the main purpose is collision resolution; imagine putting your wallet next to an NFC device and you have more than one NFC card.
@ Alex : I know, but passwort protection takes to long. A door lock where you just need your mobile device without any applications or passwords, this would be interesting.
@ Eirik : Well, there is an nfc_callback function, which will be called when the tag is detected. But you will always jump in this function when the tag will be detected. And I would like to detect only predefined devices. But as I understand, only over nfc it wont be able to detect which device(unique adress) is detected.
@ Alex : I know, but passwort protection takes to long. A door lock where you just need your mobile device without any applications or passwords, this would be interesting.
@ Eirik : Well, there is an nfc_callback function, which will be called when the tag is detected. But you will always jump in this function when the tag will be detected. And I would like to detect only predefined devices. But as I understand, only over nfc it wont be able to detect which device(unique adress) is detected.