MI 3 debug

1. log in Nexus7 side, original. initiate wfd from MI3:


D/dalvikvm( 1531): GC_FOR_ALLOC freed 1837K, 20% free 9769K/12208K, paused 19ms, total 20ms
I/wpa_supplicant( 1575): p2p-p2p0-8: Trying to associate with SSID 'DIRECT-13-MI3'
I/wpa_supplicant( 1575): p2p-p2p0-8: Associated with fa:a4:5f:7d:fd:c5
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-EAP-STARTED EAP authentication started
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
I/wpa_supplicant( 1575): p2p-p2p0-8: WPS-CRED-RECEIVED
I/wpa_supplicant( 1575): p2p-p2p0-8: WPS-SUCCESS
I/wpa_supplicant( 1575): P2P-GROUP-FORMATION-SUCCESS
I/wpa_supplicant( 1575): Restoring back wpa_s->global->p2p_group_formation to wpa_s 0xb74c9fd8
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-EAP-FAILURE EAP authentication failed
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-DISCONNECTED bssid=fa:a4:5f:7d:fd:c5 reason=3 locally_generated=1
I/wpa_supplicant( 1575): p2p-p2p0-8: Trying to associate with SSID 'DIRECT-13-MI3'
I/wpa_supplicant( 1575): p2p-p2p0-8: Associated with fa:a4:5f:7d:fd:c5
I/wpa_supplicant( 1575): p2p-p2p0-8: WPA: Key negotiation completed with fa:a4:5f:7d:fd:c5 [PTK=CCMP GTK=CCMP]
I/wpa_supplicant( 1575): p2p-p2p0-8: CTRL-EVENT-CONNECTED - Connection to fa:a4:5f:7d:fd:c5 completed (auth) [id=0 id_str=]
I/wpa_supplicant( 1575): P2P-GROUP-STARTED p2p-p2p0-8 client ssid="DIRECT-13-MI3" freq=2427 psk=d5c10f19ba83f259c267aadf247aadde95f72050e09cb0b76476f5a9079b3a78 go_dev_addr=fa:a4:5f:7d:7d:c5 [PERSISTENT]

D/nf_WifiDirectAssistant( 1531): P2pConnectionChanged: device connected, group formedd and host is GC


I/NetworkSession( 3172): connecting socket 14 to 192.168.49.1:7236
E/NetworkSession( 3172): writeMore on socket 14 failed w/ error -111 (Connection refused)

2. log in Nexus7 side, original. initiate wfd from Nexus7:

E/WifiP2pService(  590): Invitation result UNKNOWN_P2P_GROUP
D/WifiP2pService(  590): CJ calling mWifiNative.p2pConnect ( fa:a4:5f:7d:7d:c5
D/nf_WifiDirectAssistant( 1531): WIFI_P2P action: android.net.wifi.p2p.PEERS_CHANGED
 
I/wpa_supplicant( 1575): P2P-GO-NEG-SUCCESS role=client freq=2427 ht40=0 peer_dev=fa:a4:5f:7d:7d:c5 peer_iface=fa:a4:5f:7d:fd:c5 wps_method=PBC
 
I/wpa_supplicant( 1575): p2p-p2p0-9: Trying to associate with SSID 'DIRECT-hT-MI3'
I/wpa_supplicant( 1575): p2p-p2p0-9: Associated with fa:a4:5f:7d:fd:c5
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-EAP-STARTED EAP authentication started
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=1
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-EAP-METHOD EAP vendor 14122 method 1 (WSC) selected
I/wpa_supplicant( 1575): p2p-p2p0-9: WPS-CRED-RECEIVED
I/wpa_supplicant( 1575): p2p-p2p0-9: WPS-SUCCESS
I/wpa_supplicant( 1575): P2P-GROUP-FORMATION-SUCCESS
I/wpa_supplicant( 1575): Restoring back wpa_s->global->p2p_group_formation to wpa_s 0xb74cf850
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-EAP-FAILURE EAP authentication failed
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-DISCONNECTED bssid=fa:a4:5f:7d:fd:c5 reason=3 locally_generated=1
I/wpa_supplicant( 1575): p2p-p2p0-9: Trying to associate with SSID 'DIRECT-hT-MI3'
I/wpa_supplicant( 1575): p2p-p2p0-9: Associated with fa:a4:5f:7d:fd:c5
I/wpa_supplicant( 1575): p2p-p2p0-9: WPA: Key negotiation completed with fa:a4:5f:7d:fd:c5 [PTK=CCMP GTK=CCMP]
I/wpa_supplicant( 1575): p2p-p2p0-9: CTRL-EVENT-CONNECTED - Connection to fa:a4:5f:7d:fd:c5 completed (auth) [id=0 id_str=]
I/wpa_supplicant( 1575): P2P-GROUP-STARTED p2p-p2p0-9client ssid="DIRECT-hT-MI3" freq=2427 psk=6738ce8f5272435bb0d073f4a8a21813e96d8c398654e3c83df4152e9d85ab68 go_dev_addr=fa:a4:5f:7d:7d:c5 [PERSISTENT]

D/NetworkSession( 3286): start ANetworkSession::loopThread() thread
I/NetworkSession( 3286): connecting socket 14 to 192.168.49.1:7236
D/NetworkSession( 3286): connect return -1


3. Nexus10 initiated wfd to Nexus 7. log in Nexus 7. 

 
I/wpa_supplicant( 1575): P2P-GO-NEG-SUCCESS role=GO freq=2462 ht40=0 peer_dev=0a:d4:2b:19:8f:a2 peer_iface=0a:d4:2b:19:0f:a2 wps_method=PBC
I/wpa_supplicant( 1575): rfkill: Cannot open RFKILL control device
 
E/wpa_supplicant( 1575): Using interface p2p-p2p0-11 with hwaddr da:50:e6:71:f0:f5 and ssid "DIRECT-Bj-nFore_WFD_Sink"
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): p2p-p2p0-11: CTRL-EVENT-CONNECTED - Connection to da:50:e6:71:f0:f5 completed (auth) [id=0 id_str=]
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): p2p-p2p0-11: WPS-PBC-ACTIVE
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): p2p-p2p0-11: CTRL-EVENT-EAP-STARTED 0a:d4:2b:19:0f:a2
I/wpa_supplicant( 1575): p2p-p2p0-11: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
I/wpa_supplicant( 1575): p2p-p2p0-11: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
I/wpa_supplicant( 1575): p2p-p2p0-11: WPS-REG-SUCCESS 0a:d4:2b:19:0f:a2 2aa776c4-a37f-5317-8b7a-45e85c947eee
I/wpa_supplicant( 1575): P2P-GROUP-FORMATION-SUCCESS
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): P2P-GROUP-STARTED p2p-p2p0-11 GO ssid="DIRECT-Bj-nFore_WFD_Sink" freq=2462 passphrase="Vha9KPuz" go_dev_addr=da:50:e6:71:70:f5 [PERSISTENT]
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): p2p-p2p0-11: WPS-PBC-DISABLE
I/wpa_supplicant( 1575): p2p-p2p0-11: WPS-SUCCESS
I/wpa_supplicant( 1575): p2p-p2p0-11: CTRL-EVENT-EAP-FAILURE 0a:d4:2b:19:0f:a2
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
D/CommandListener(  178): Setting iface cfg
D/CommandListener(  178): Trying to bring up p2p-p2p0-11
D/TetherController(  178): Starting tethering services
D/TetherController(  178): Tethering services running
I/dnsmasq ( 3545): started, version 2.51 cachesize 150
I/dnsmasq ( 3545): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
W/dnsmasq ( 3545): warning: no upstream servers configured
I/dnsmasq ( 3545): DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h
I/dnsmasq ( 3545): read /etc/hosts - 1 addresses
D/nf_WifiDirectAssistant( 1531): WIFI_P2P action: android.net.wifi.p2p.THIS_DEVICE_CHANGED
D/WifiP2pService(  590): Started Dhcp server on p2p-p2p0-11
 
I/wpa_supplicant( 1575): p2p-p2p0-11: AP-STA-CONNECTED 0a:d4:2b:19:0f:a2 p2p_dev_addr=0a:d4:2b:19:8f:a2
I/wpa_supplicant( 1575): AP-STA-CONNECTED 0a:d4:2b:19:0f:a2 p2p_dev_addr=0a:d4:2b:19:8f:a2
 



-------------------------------------------------------------------------

I/wpa_supplicant( 1575): P2P-FIND-STOPPED
 
W/wpa_supplicant( 1575): Device is trying to offload WPS Probe Response while not supporting this
W/wpa_supplicant( 1575): Device is trying to offload P2P Probe Response while not supporting this
I/wpa_supplicant( 1575): p2p-p2p0-10: AP-STA-CONNECTED 0a:d4:2b:19:0f:a2 p2p_dev_addr=0a:d4:2b:19:8f:a2
D/WifiP2pDevice(  590): Found device interface address 0a:d4:2b:19:0f:a2
I/wpa_supplicant( 1575): AP-STA-CONNECTED 0a:d4:2b:19:0f:a2 p2p_dev_addr=0a:d4:2b:19:8f:a2
D/nf_WifiDirectAssistant( 1531): WIFI_P2P action: android.net.wifi.p2p.PEERS_CHANGED
 
I/dnsmasq ( 3375): DHCPDISCOVER(p2p-p2p0-10) 0a:d4:2b:19:0f:a2
I/dnsmasq ( 3375): DHCPOFFER(p2p-p2p0-10) 192.168.49.254 0a:d4:2b:19:0f:a2
I/dnsmasq ( 3375): DHCPREQUEST(p2p-p2p0-10) 192.168.49.254 0a:d4:2b:19:0f:a2
I/dnsmasq ( 3375): DHCPACK(p2p-p2p0-10) 192.168.49.254 0a:d4:2b:19:0f:a2 android-e3225c048541dd7a
D/nForeMiraAPI( 1531): 0a:d4:2b:19:0f:a2 IP is 192.168.49.254 !!
 

你可能感兴趣的:(Android,Programming)