2013年12月4日星期三
[Android] the problem can not connect wifi direct
1 enabled wifi direct on the board and manually create a group, through the command line, this information is as follows :
# wpa_cli status ;
Using interface 'wlan0'
bssid = 00:73:13:0 d: 13: e9
ssid = DIRECT-Fy
id = 0
mode = P2P GO
pairwise_cipher = CCMP
group_cipher = CCMP
key_mgmt = WPA2-PSK
wpa_state = COMPLETED
ip_address = 192.168.49.1
p2p_device_address = 00:73:13:0 d: 13: e9
address = 00:73:13:0 d: 13: e9
# wpa_cli p2p_get ;
Using interface 'wlan0'
nFnkmc0J
# ps
**** found no available dhcp server is running ( with wifi function only when there is a dhcpcd client running , open direct dhcpcd also been stopped ) ******
2. After entering the password authentication can not get through to the ip address it through the phone's wifi capabilities ( phone does not support direct function ) connected DIRECT-Fy hotspot , always show " Get Ip address ... "
question :
1. was not the two devices can support direct connectivity ?
2. as gourp owner 's direct client devices need to start a dhcp server , and the other end should start dhcp client to connect ?
3. Which brothers have the android can run dhcp server and dhcp client, please send a help to download821106@163.com
------ Solution ------------------------------------ --------
good esoteric stuff , do not know , but 4.0 is said to have provided the Local Area Network functionality .
------ Solution --------- -----------------------------------
1. was not the two devices can support direct Internet ?
certainly
2. as gourp owner 's direct client devices need to start a dhcp server , and the other end should start dhcp client to connect ?
If supported , architecture already provides a good interface, no bother
3. Which brothers have the android can run dhcp server and dhcp client
wifidirect major role as similar to Bluetooth , you want to replace the Bluetooth function , no need to get so complicated
------ eference ---------------- -----------------------
thank join in !
------ eference --------------------------------------- < br> their own roof
------ eference ----------------------------------- ----
solve the problem, get less because the group Ip address client does not start dhcp
------ eference ----------------- ----------------------
Will dhcp client service group is not trying to run a separate program that supports dhcp job ?
Thank
------ eference ----------------------------------- ----
ask the landlord , sdk comes with the wifidirect the demo is how ah , debugging , when no law find peers , and how the network needs it bad environment ? I'm debugging with PC open a hotspot ( driver wizard ) , then let two mobile phones even this hot , this is not to ensure that the two sets of phone connected to the same network do ? But this , find peers that have nothing happened , and simply can not find. . . Is how it happened ?
订阅:
博文评论 (Atom)
没有评论:
发表评论