Lines Matching full:summary

50 def summary(txt, color=None):  function
61 summary(txt)
72 summary("Could not find wpa_supplicant: %s", str(error))
76 summary("No wpa_supplicant control interface found")
86 summary("Trying to use control interface " + ctrl)
91 summary("Could not connect to wpa_supplicant")
100 summary("Could not parse DPP URI from NFC URI record", color=C_RED)
103 summary("peer_id=%d for URI from NFC Tag: %s" % (peer_id, uri))
112 summary("Initiate DPP authentication: " + cmd)
115 summary("Failed to initiate DPP Authentication", color=C_RED)
117 summary("DPP Authentication initiated")
124 summary(record)
126 summary("Too short DPP HS", color=C_RED)
129 summary("Unexpected URI Identifier Code", color=C_RED)
135 summary("Invalid URI payload", color=C_RED)
137 summary("URI: " + uri)
139 summary("Not a DPP URI", color=C_RED)
155 summary("Ignore unexpected status line: %s" % l)
181 summary("Could not determine local MAC address for bootstrap info")
197 summary("Own AP freq: %s MHz" % str(get_status_field(wpas, "freq")))
199 summary("Enable beaconing to have radio ready for RX")
213 summary(cmd)
216 summary("Failed to start DPP listen", color=C_RED)
238summary("Use current AP operating channel (%d MHz) as the URI channel list (%s)" % (freq, chan))
242 summary("Use channel 2437 MHz since no other preference provided")
270 summary("About to start run_dpp_handover_client (alt=%s)" % str(alt))
274 summary("Done run_dpp_handover_client (alt=%s)" % str(alt))
279 summary("Try to send alternative handover request")
293 summary("Handover client received message '{0}'".format(records[0].type))
295 summary("Handover client received invalid message: %s" + binascii.hexlify(msg))
336 summary("TEST MODE: Using specified URI (alt=%s)" % str(alt))
341 summary("Cannot start handover client - no bootstrap URI available",
346 summary("NFC URI record for DPP: " + str(uri))
351 summary("TEST MODE: Use specified crn %d" % prev)
359 summary("NFC Handover Request message for DPP: " + str(message))
362 summary("NFC handover request from peer was already received - do not send own[1]")
365 summary("Use already started handover client")
368 summary("Start handover client")
371 summary("Trying to initiate NFC connection handover")
373 summary("Connected for handover")
375 summary("Handover connection refused")
379 summary("Other exception: " + str(e))
385summary("NFC handover request from peer was already received - do not send own[2] (except alt)")
389 summary("Sending handover request")
395 summary("Failed to send handover request", color=C_RED)
401 summary("Receiving handover response")
406summary("Received {} record(s) in {} seconds".format(len(message) if message is not None else -1, …
410 summary("Client receive failed as expected since I'm the handover server: %s" % str(e))
412summary("Client received failed for initial proposal as expected since alternative proposal was al…
414 summary("Client receive failed: %s" % str(e), color=C_RED)
418 summary("No response received as expected since I'm the handover server")
420summary("No response received for initial proposal as expected since alternative proposal was also…
422summary("No response received for initial proposal as expected since alternative proposal will als…
424 summary("No response received", color=C_RED)
427 summary("Received message: " + str(message))
430 summary("Response was not Hs - received: " + message.type)
433 summary("Received handover select message")
434 summary("alternative carriers: " + str(message[0].alternative_carriers))
436 summary("Ignore the received select since I'm the handover selector")
441summary("Ignore received handover select for the initial proposal since alternative proposal was s…
449 summary("Remote carrier type: " + carrier.type)
452 summary("URI Identifier Code 'None' not seen", color=C_RED)
454 summary("DPP carrier type match - send to wpa_supplicant")
457 summary("DPP URI: " + uri)
460 summary("TEST MODE: Fake processing")
464 summary("DPP handover report rejected", color=C_RED)
468 summary("peer_id=" + res)
484 summary("Failed to initiate Configurator", color=C_RED)
489 summary("Initiate DPP authentication")
494 summary("Failed to initiate DPP authentication", color=C_RED)
498 summary("DPP carrier not seen in response - do not allow alternative proposal anymore")
500summary("DPP carrier not seen in response - allow peer to initiate a new handover with different p…
506 summary("Returning from dpp_handover_client")
509 summary("Remove peer")
511 summary("Done with handover")
520 summary("Trying to exit..")
524 summary("Returning from dpp_handover_client")
537 summary("Serving handover client on remote sap {0}".format(peer_sap))
546 summary("Received %d octets" % len(r))
554 summary("Full message received")
557summary("No handover select to send out - wait for a possible alternative handover request")
564 summary("Failed to send handover select - connection closed")
566 summary("Sent out full handover select")
572 summary("HandoverServer exception: %s" % e,
576 summary("Handover serve thread exiting")
586 summary("HandoverServer - request received: " + str(records))
593 summary("peer_crn: %d" % handover.peer_crn)
596summary("Still trying to send own handover request - wait a moment to see if that succeeds before …
602 summary("my_crn: %d" % handover.my_crn)
606 summary("Same crn used - automatic collision resolution failed")
613 summary("I'm the Handover Selector Device")
616 summary("Peer is the Handover Selector device")
617 summary("Ignore the received request.")
628 summary("Remote carrier type: " + carrier.type)
630 summary("DPP carrier type match - add DPP carrier record")
632 summary("URI Identifier Code 'None' not seen", color=C_RED)
635 summary("Received DPP URI: " + uri)
639 summary("TEST MODE: Using specified URI")
642summary("Use alternative channel list while processing alternative proposal from peer")
649 summary("Own URI (pre-processing): %s" % data)
652 summary("TEST MODE: Fake processing")
658 summary("DPP handover request processing failed",
663 summary("Own URI (try another channel list): %s" % data)
667 summary("TEST MODE: Reject initial proposal")
680 summary("Own URI (post-processing): %s" % data)
684 summary("Own bootstrapping NFC URI record: " + str(uri))
693 summary("No channel negotiated over NFC - use channel 6")
696 summary("Negotiated channel: %d MHz" % freq)
701 summary("Own DPP carrier record: " + str(carrier))
706 summary("Sending handover select: " + str(sel))
708 summary("Handover completed successfully")
714 summary("Do not try alternative proposal anymore - handover failed",
718 summary("Try to initiate with alternative parameters")
759 summary(record)
760 summary("record type " + record.type)
762 summary("DPP HS tag - send to wpa_supplicant")
766 summary("URI record: uri=" + record.uri)
767 summary("URI record: iri=" + record.iri)
769 summary("DPP URI")
774 summary("Ignore unknown URI")
783 summary("Tag found - writing - " + str(tag))
785 summary("Not a formatted NDEF tag", color=C_RED)
788 summary("Not a writable tag", color=C_RED)
792 summary("Not enough room for the message")
797 summary("Writing the tag failed: %s" % str(e), color=C_RED)
800 summary("Tag writing completed - remove tag", color=C_GREEN)
810 summary("Write NFC URI record")
813 summary("Could not get NFC URI from wpa_supplicant", color=C_RED)
818 summary("URI: %s" % data)
820 summary(uri)
822 summary("Touch an NFC tag to write URI record", color=C_CYAN)
828 summary("Write NFC Handover Select record on a tag")
831 summary("Could not get NFC URI from wpa_supplicant", color=C_RED)
836 summary("URI: %s" % data)
838 summary(uri)
842 summary(hs)
843 summary(carrier)
845 summary("Touch an NFC tag to write HS record", color=C_CYAN)
848 summary(dpp_tag_data)
853 summary("Tag connected: " + str(tag))
856 summary("NDEF tag: " + tag.type)
857 summary(tag.ndef.records)
863 summary("Not an NDEF tag - remove tag", color=C_RED)
872 summary("Starting handover client (try_alt)")
874 summary("Exiting llcp_worker thread (try_alt)")
878 summary("Starting handover client (init_on_touch)")
880summary("llcp_worker init_on_touch processing completed: try_own={} hs_sent={} no_alt_proposal={} …
882 summary("Try alternative handover request before exiting llcp_worker")
885 summary("Exiting llcp_worker thread (init_on_touch)")
890 summary("Wait for handover to complete")
896 summary("Try to initiate another handover with own parameters")
902 summary("Exiting llcp_worker thread (retry with own parameters)")
913 summary("Starting handover client")
915 summary("Exiting llcp_worker thread (manual init)")
923 summary("Exiting llcp_worker thread")
950 summary("Start handover server")
960 summary("Trying to exit (delayed)..")
962 summary("Trying to exit (after wait)..")
978 summary("P2P LLCP connected")
989 summary("LLCP release")
1029 parser.add_argument('--summary',
1030 help='summary file for writing status updates')
1049 summary(args)
1098 summary("Selected ifname " + ifname)
1104 if args.summary:
1106 summary_file = args.summary
1120 summary("Could not open connection with an NFC device", color=C_RED)
1143 summary("Waiting a peer to be touched", color=C_MAGENTA)
1145 summary("Waiting for a tag to be touched", color=C_BLUE)
1147 summary("Waiting for a tag or peer to be touched",
1168 summary("clf.connect failed: " + str(e))
1173 summary("Connection handover result: I'm the %s" % role,
1176 summary("Peer URI: " + handover.peer_uri, color=C_YELLOW)
1178 summary("My URI: " + handover.my_uri, color=C_YELLOW)
1180 summary("Negotiated connection handover failed",