Lines Matching refs:handover
19 import nfc.handover
161 summary("Could not get handover request carrier record from wpa_supplicant")
163 print "Handover request carrier record from wpa_supplicant: " + data.encode("hex")
169 print "Handover request (pre-WPS):"
181 print "Handover request:"
188 client = nfc.handover.HandoverClient(llc)
190 summary("Trying to initiate NFC connection handover")
192 summary("Connected for handover")
194 summary("Handover connection refused")
202 summary("Sending handover request")
205 summary("Failed to send handover request")
209 summary("Receiving handover response")
227 summary("Handover select received")
238 success_report("P2P handover reported successfully (initiator)")
240 summary("P2P handover report rejected")
245 print "Done with handover"
259 class HandoverServer(nfc.handover.HandoverServer):
267 # due to new WSC handover format
269 summary("received handover request {}".format(request.type))
272 summary("not a handover request")
280 summary("send handover response {}".format(response.type))
288 print "Parsed handover request: " + request.pretty()
309 print "Could not get handover select carrier record from wpa_supplicant"
311 print "Handover select carrier record from wpa_supplicant:"
315 success_report("P2P handover reported successfully (responder)")
317 summary("P2P handover report rejected")
339 print "Could not get handover select carrier record from wpa_supplicant"
341 print "Handover select carrier record from wpa_supplicant:"
345 success_report("WSC handover reported successfully")
347 summary("WSC handover report rejected")
355 print "Handover select:"
362 summary("Sending handover select")
431 print "Write P2P handover select"
434 summary("Could not get P2P handover select from wpa_supplicant")
443 print "Handover select:"
478 print "Starting handover client"
484 print "Wait for handover to complete"
486 print "Wait for handover to complete - press 'i' to initiate ('w' for WPS only, 'p' for P2P only)"
509 print "Starting handover client"
550 help='initiate handover on touch')
558 help='do not use stdout input to initiate handover')
560 help='tag read only (do not allow connection handover)')
561 parser.add_argument('--handover-only', action='store_true',
562 help='connection handover only (do not allow tag read)')