Hi
Regarding the NFC url example there is any way to change the URL dynamically. My idea is to, at a certain point, be able to modify the URL configured during the setup.
I tried different approaches:
- Simply calling "nfc_uri_msg_encode" with the new url (it changes the content of ndef_msg_buf)
- Call "nfc_uri_msg_encode" and then register the ndef_msg_buf by calling "nfcSetPayload"
- Call "nfcStopEmulation" -> "nfc_uri_msg_encode" -> "nfcSetPayload" -> "nfcStartEmulation"
However none of these approaches worked in my case, when I call the "nfcSetPayload" it returns an error and when I change only the encoded message ("nfc_uri_msg_encode") I am able to get the tag with a smartphone but it return an empty tag.
Any one knows a way to dynamically change the url of a nfc tag?
Thanks in advance