Home | History | Annotate | Download | only in hostapd

Lines Matching defs:nfc

3 # Example nfcpy to hostapd wrapper for WPS NFC operations
13 import nfc
14 import nfc.ndef
15 import nfc.llcp
16 import nfc.handover
84 class HandoverServer(nfc.handover.HandoverServer):
92 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
107 message = nfc.ndef.Message(data);
124 nfc.llcp.activate(peer);
130 while nfc.llcp.connected():
133 except nfc.llcp.ConnectRefused:
135 nfc.llcp.shutdown()
142 nfc.llcp.shutdown()
148 message = nfc.ndef.Message(tag.ndef.message)
172 print "Touch an NFC tag"
194 print "Touch an NFC tag"
211 if nfc.llcp.connected():
213 general_bytes = nfc.llcp.startup({})
215 if isinstance(peer, nfc.DEP):
224 if isinstance(peer, nfc.DEP):
238 clf = nfc.ContactlessFrontend()
253 if isinstance(tag, nfc.DEP):