Home
last modified time | relevance | path

Searched refs:myNFC (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/python/
Dpn532-writeurl.py29 myNFC = upmPn532.PN532(3, 2) variable
46 if (not myNFC.init()):
50 vers = myNFC.getFirmwareVersion()
61 myNFC.setPassiveActivationRetries(0xff)
63 myNFC.SAMConfig()
77 if (myNFC.readPassiveTargetID(upmPn532.PN532.BAUD_MIFARE_ISO14443A,
85 print "SAK: %02x" % myNFC.getSAK()
86 print "ATQA: %04x" % myNFC.getATQA()
100 if (not myNFC.ntag2xx_WriteNDEFURI(upmPn532.PN532.NDEF_URIPREFIX_HTTP, url, 48)):
Dpn532.py29 myNFC = upmPn532.PN532(3, 2) variable
46 if (not myNFC.init()):
50 vers = myNFC.getFirmwareVersion()
61 myNFC.setPassiveActivationRetries(0xff)
63 myNFC.SAMConfig()
72 if (myNFC.readPassiveTargetID(upmPn532.PN532.BAUD_MIFARE_ISO14443A,
80 print "SAK: %02x" % myNFC.getSAK()
81 print "ATQA: %04x" % myNFC.getATQA()