This would show if the other device was starting to communicate via NFC. If it is, I would imagine that most likely it's something on the reader that's causing issues.
Also: changing the NFC URL will reset the NFC - so if you do it every 5 seconds then you may well reset the NFC while the other device is trying to read it.
You could respond to NFCon/NFCoff events and make sure you don't change the URL while NFC is on
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
What about:
This would show if the other device was starting to communicate via NFC. If it is, I would imagine that most likely it's something on the reader that's causing issues.
Also: changing the NFC URL will reset the NFC - so if you do it every 5 seconds then you may well reset the NFC while the other device is trying to read it.
You could respond to NFCon/NFCoff events and make sure you don't change the URL while NFC is on