@afrid are you running with up to date Puck.js firmware? Could you read the Puck using 'NFC TagWriter' using the previous code I posted up or even when using NRF.nfcURL()?
I'm afraid I can't help you out more though - I've given you tested code that exactly what you want and works great on Android, but I don't have an NFC-enabled iPhone to try
can you little bit explain about the "NFCrx". what exactly ?
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.
Thanks @allObjects!
@afrid are you running with up to date Puck.js firmware? Could you read the Puck using 'NFC TagWriter' using the previous code I posted up or even when using
NRF.nfcURL()
?I'm afraid I can't help you out more though - I've given you tested code that exactly what you want and works great on Android, but I don't have an NFC-enabled iPhone to try
It's called when a packet of NFC data is received from the NFC device, and then you have to respond to it. If you need more info about the protocol you need to search for the
NFC Forum Type 2 spec
: http://apps4android.org/nfc-specifications/NFCForum-TS-Type-2-Tag_1.1.pdfHonestly though it sounds like you might be better off using NFC as a simple readable tag and then using Bluetooth to set any data you want.