Home | History | Annotate | Download | only in examples

Lines Matching refs:request

53     if "FAIL" in wpas.request("WPS_NFC_TAG_READ " + message.encode("hex")):
62 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF " + id)
64 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF")
74 return wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid).rstrip().decode("hex")
81 return wpas.request("WPS_NFC_TOKEN NDEF").rstrip().decode("hex")
88 return wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR").rstrip().decode("hex")
96 return wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip().decode("hex")
97 return wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip().decode("hex")
104 return wpas.request("NFC_REPORT_HANDOVER " + type + " WPS " +
113 def process_request(self, request):
114 print "HandoverServer - request received"
115 print "Parsed handover request: " + request.pretty()
119 for carrier in request.carriers:
181 print "Could not get handover request carrier record from wpa_supplicant"
183 print "Handover request carrier record from wpa_supplicant: " + data.encode("hex")
188 print "Parsed handover request carrier record:"
195 print "Handover request:"
211 print "Sending handover request"
214 print "Failed to send handover request"