Lines Matching defs:ndef
15 import nfc.ndef
75 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
85 ret = wpas.request("WPS_NFC_TOKEN NDEF")
95 ret = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR")
120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
125 request = nfc.ndef.HandoverRequestMessage(request)
126 except nfc.ndef.DecodeError as e:
141 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
158 message = nfc.ndef.Message(data);
175 if len(tag.ndef.message):
176 for record in tag.ndef.message:
180 success = wpas_tag_read(tag.ndef.message)
194 tag.ndef.message = str(write_data)
235 if tag.ndef:
236 print "NDEF tag: " + tag.type
238 print tag.ndef.message.pretty()
246 summary("Not an NDEF tag - remove tag")