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)
238 … summary("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")
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))
385 summary("NFC handover request from peer was already received - do not send own")
388 summary("Sending handover request")
394 summary("Failed to send handover request", color=C_RED)
400 summary("Receiving handover response")
405 …summary("Received {} record(s) in {} seconds".format(len(message) if message is not None else -1, …
409 summary("Client receive failed as expected since I'm the handover server: %s" % str(e))
411 …summary("Client received failed for initial proposal as expected since alternative proposal was al…
413 summary("Client receive failed: %s" % str(e), color=C_RED)
417 summary("No response received as expected since I'm the handover server")
419 …summary("No response received for initial proposal as expected since alternative proposal was also…
421 …summary("No response received for initial proposal as expected since alternative proposal will als…
423 summary("No response received", color=C_RED)
426 summary("Received message: " + str(message))
429 summary("Response was not Hs - received: " + message.type)
432 summary("Received handover select message")
433 summary("alternative carriers: " + str(message[0].alternative_carriers))
435 summary("Ignore the received select since I'm the handover selector")
440 …summary("Ignore received handover select for the initial proposal since alternative proposal was s…
448 summary("Remote carrier type: " + carrier.type)
451 summary("URI Identifier Code 'None' not seen", color=C_RED)
453 summary("DPP carrier type match - send to wpa_supplicant")
456 summary("DPP URI: " + uri)
459 summary("TEST MODE: Fake processing")
463 summary("DPP handover report rejected", color=C_RED)
467 summary("peer_id=" + res)
483 summary("Failed to initiate Configurator", color=C_RED)
488 summary("Initiate DPP authentication")
493 summary("Failed to initiate DPP authentication", color=C_RED)
497 summary("DPP carrier not seen in response - do not allow alternative proposal anymore")
499 …summary("DPP carrier not seen in response - allow peer to initiate a new handover with different p…
505 summary("Returning from dpp_handover_client")
508 summary("Remove peer")
510 summary("Done with handover")
519 summary("Trying to exit..")
523 summary("Returning from dpp_handover_client")
536 summary("Serving handover client on remote sap {0}".format(peer_sap))
545 summary("Received %d octets" % len(r))
553 summary("Full message received")
556 … summary("No handover select to send out - wait for a possible alternative handover request")
563 summary("Failed to send handover select - connection closed")
565 summary("Sent out full handover select")
571 summary("HandoverServer exception: %s" % e,
575 summary("Handover serve thread exiting")
585 summary("HandoverServer - request received: " + str(records))
592 summary("peer_crn: %d" % handover.peer_crn)
595 …summary("Still trying to send own handover request - wait a moment to see if that succeeds before …
601 summary("my_crn: %d" % handover.my_crn)
605 summary("Same crn used - automatic collision resolution failed")
612 summary("I'm the Handover Selector Device")
615 summary("Peer is the Handover Selector device")
616 summary("Ignore the received request.")
627 summary("Remote carrier type: " + carrier.type)
629 summary("DPP carrier type match - add DPP carrier record")
631 summary("URI Identifier Code 'None' not seen", color=C_RED)
634 summary("Received DPP URI: " + uri)
638 summary("TEST MODE: Using specified URI")
641 … summary("Use alternative channel list while processing alternative proposal from peer")
648 summary("Own URI (pre-processing): %s" % data)
651 summary("TEST MODE: Fake processing")
657 summary("DPP handover request processing failed",
662 summary("Own URI (try another channel list): %s" % data)
666 summary("TEST MODE: Reject initial proposal")
679 summary("Own URI (post-processing): %s" % data)
683 summary("Own bootstrapping NFC URI record: " + str(uri))
692 summary("No channel negotiated over NFC - use channel 6")
695 summary("Negotiated channel: %d MHz" % freq)
700 summary("Own DPP carrier record: " + str(carrier))
705 summary("Sending handover select: " + str(sel))
707 summary("Handover completed successfully")
713 summary("Do not try alternative proposal anymore - handover failed",
717 summary("Try to initiate with alternative parameters")
758 summary(record)
759 summary("record type " + record.type)
761 summary("DPP HS tag - send to wpa_supplicant")
765 summary("URI record: uri=" + record.uri)
766 summary("URI record: iri=" + record.iri)
768 summary("DPP URI")
773 summary("Ignore unknown URI")
782 summary("Tag found - writing - " + str(tag))
784 summary("Not a formatted NDEF tag", color=C_RED)
787 summary("Not a writable tag", color=C_RED)
791 summary("Not enough room for the message")
796 summary("Writing the tag failed: %s" % str(e), color=C_RED)
799 summary("Tag writing completed - remove tag", color=C_GREEN)
809 summary("Write NFC URI record")
812 summary("Could not get NFC URI from wpa_supplicant", color=C_RED)
817 summary("URI: %s" % data)
819 summary(uri)
821 summary("Touch an NFC tag to write URI record", color=C_CYAN)
827 summary("Write NFC Handover Select record on a tag")
830 summary("Could not get NFC URI from wpa_supplicant", color=C_RED)
835 summary("URI: %s" % data)
837 summary(uri)
841 summary(hs)
842 summary(carrier)
844 summary("Touch an NFC tag to write HS record", color=C_CYAN)
847 summary(dpp_tag_data)
852 summary("Tag connected: " + str(tag))
855 summary("NDEF tag: " + tag.type)
856 summary(tag.ndef.records)
862 summary("Not an NDEF tag - remove tag", color=C_RED)
871 summary("Starting handover client (try_alt)")
873 summary("Exiting llcp_worker thread (try_alt)")
877 summary("Starting handover client (init_on_touch)")
879 summary("Exiting llcp_worker thread (init_on_touch)")
884 summary("Wait for handover to complete")
890 summary("Try to initiate another handover with own parameters")
896 summary("Exiting llcp_worker thread (retry with own parameters)")
907 summary("Starting handover client")
909 summary("Exiting llcp_worker thread (manual init)")
917 summary("Exiting llcp_worker thread")
944 summary("Start handover server")
954 summary("Trying to exit (delayed)..")
956 summary("Trying to exit (after wait)..")
972 summary("P2P LLCP connected")
983 summary("LLCP release")
1023 parser.add_argument('--summary',
1024 help='summary file for writing status updates')
1043 summary(args)
1092 summary("Selected ifname " + ifname)
1098 if args.summary:
1100 summary_file = args.summary
1114 summary("Could not open connection with an NFC device", color=C_RED)
1137 summary("Waiting a peer to be touched", color=C_MAGENTA)
1139 summary("Waiting for a tag to be touched", color=C_BLUE)
1141 summary("Waiting for a tag or peer to be touched",
1162 summary("clf.connect failed: " + str(e))
1167 summary("Connection handover result: I'm the %s" % role,
1170 summary("Peer URI: " + handover.peer_uri, color=C_YELLOW)
1172 summary("My URI: " + handover.my_uri, color=C_YELLOW)
1174 summary("Negotiated connection handover failed",