Has anyone got NFC read to work on an Android/Apple Phone or Tablet?

I have provided a working example (link is in a prior post).
The example writes the NFC serial number and username to 2 fixed tags, it should be easy to change the path of tags for you own case?

We are attempting to read NFC tags that use 14443-3A with no success. I have copied the scripts from Ignition Documentation ( Perspective Session Event Scripts | Ignition User Manual ) with no luck. We are using Ignition 8.1.30 and the android perspective app version 1.0.9-93.

Did you try to log something simple to verify the log is being written?

You can try to to log the data value as json in case there is an exception thrown which is not handled in the example.

Here is the code in the Session NFC event:

“““

def onNdefDataReceived(session, data, context):

    session.custom.device.nfc = data

    # Create the logger.
    logger = system.util.logger('NFC')
    
    # Loop through the list of records stored in the NFC tag and pull out the type, type name format, payload, string data, and raw byte data from each record and print it to the Gateway logs.
    for row in data:
        logger.info('Type:' + str(row['type']) + ', Type Name Format:' + str(row['typeNameFormat']) + ', Payload:' + str(row['payload']) + ', String:' + str(row['string']) + ', Bytes:' + str(row['bytes']))

“““

there is a label on my main page with the text property bound to session.custom.device.nfc

Nothing ever showed up on the label

Also, nothing in the gateway log

It's been a year and don't remember the details now.

You can try to set another session property prior and after setting the custom.device.nfc.

This should rule out if the scripts is actually being triggered and rules and exception out

I might try it out next week once again checking if it works as expected.

Thanks! Have you gotten 14443-3A tags to work in the past?

Kind of got them working using a bypass with NFC Tools and the WebDev.

I actually ditched the NFC tags and will switch to data matrix.

The NFC reader is covered by the Zebra TC26 case and scans harder. Removing a piece of the case works, but it's still difficult to read a NFC tag on a CNC milling tool holder due to the location and some more elements.

Laser engraving has already proven to remain visible for over 5 year by hearsay.

NFC Tools and WebDev are not options. The client wants to use them for authentication, either through the normal login method or a custom method that simply looks for the existence of the NFC tag data in the database. The badges they use are encoded using 14443-3A.