OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:myNFC
(Results
1 - 2
of
2
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/python/
pn532.py
29
myNFC
= upmPn532.PN532(3, 2)
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()
pn532-writeurl.py
29
myNFC
= upmPn532.PN532(3, 2)
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)):
Completed in 43 milliseconds