Home > Software engineering >  Compared with 360 wifi, several problems when open wireless AP, to ask for help
Compared with 360 wifi, several problems when open wireless AP, to ask for help

Time:09-20

Recently Shared a similar wifi elves, in 360 with wifi wireless AP sharing software, such as
The current status is: can be done by some of the Native WIFI API software AP ICS sharing network structures, and through the Internet,
Compared to 360 portable wifi: 360 portable wifi is not done by software AP wireless sharing, 360 is the wifi network is set to directly to the AP to share network, see attached pictures,
The current problems:
1, how do you like 360 portable WiFi, designated wireless physical adapter made AP to transmit radio signals, and set the specified network mode, such as 2.4 G or 5 G, network type (G, n, b), and other parameters, such as
WlanHostedNetworkStartUsing and this function is a function of the open software AP and doesn't set point,
2, how to set up the AP information such as the network card address and DNS,
3, how to list the current list of computer access, and resolve the computer name and IP,
 WlanHostedNetworkQueryStatus (m_hWifiHanle, & amp; PWlanHostedNetworkStatus, NULL); 

DwNumberOfPeers, this parameter is the number of the current access network, found that there are some problems when using, such as the phone out of the network, after the variable does not refresh in time,
PeerList [1], this array has only one element, for access to the user's Mac address, but only one element, the array if there are multiple users, as it doesn't work out,
Another list of current computer, and analyze the calculation of the name and IP related method, found no,
4, how to limit the access of the computer listed
5, hidden SSID is how to implement,






CodePudding user response:

In addition,
Created my own network, using Microsoft's mobile phone can connect to the Internet, but the use of apple mobile phone network,
From the site to download a wifi sharing, sharing the elves of Internet connection is realized through software AP infinite Shared, apple mobile phones and Microsoft can connect to the Internet,
Now I'm not sure of:
1, the wifi sharing elves didn't access to the Internet network adapter Settings for sharing mode, but really can get to the Internet, see the image below,
2, wifi Shared open and closed network, I caught here to print information,
Open network when debugging information
 [9652] the state is 1 
[9652] start Service txwifinatwfp
[9652] QueryServiceConfig finally failed 122
[9652] the Service start pending...
[9652] start Service txwifinatwfp success
[9652] HandleWrapper: : Close ()
[9652] HandleWrapper: : Open ()
[9652] E0214 23:47:36. 057765 56100 ServiceManager. CPP: 83] the Service DeviceHealthstopped failed. Return0
[9652] E0214 23:47:36. 057765 56100 ServiceManager. CPP: 83] the Service DeviceHealthPluginMgrstopped failed. Return0
[9652] E0214 23:47:36. 058765 56100 ServiceManager. CPP: 93] ChangeServiceStartType & lt; DeviceHealth> Failed to return 0
[9652] E0214 23:47:36. 058765 56100 ServiceManager. CPP: 93] ChangeServiceStartType & lt; DeviceHealthPluginMgr> Failed to return 0
[9652] Set SpeedLimit succeed 10-2 f - 6 b - A5 - DE - 08, 1, 0, 0,
[9652] Set SpeedLimit succeed 9 c - F3-18-28-87-08, 1, 0, 0,
[9652] [WiFiShare] CHostedNetworkManager: : OnHostedNetworkAvailable
[9652] [WiFiShare] CHostedNetworkManager: : OnHostedNetworkStarted

[9652] Get Connection HNet_Connection. Guid="{FB76AD68-2073-43 da - A3A3-6 ac404bc0cbd}" ret: 0 x0
. [9652] Get Connection HNet_Connection Guid="{C7D54922 e7 - A32B - 141-18 d6-44 c08aa6670}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{3 e8ea633 - F99C - 4896 - A75C - E13FBF0D0959}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{AB9ACFEA - 718 - d - 4 - BBDC - D91116A4D511} fda" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{B5B3A54D a078 e8 - CB78-4460-80-31266994}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{dee C7948432-5-4684 - df1dd05fd7b B5B1-1}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{265963 e6b a6-3637-4 - ABCA - F30BC1C3177B}" ret: 0 x0
. [9652] Get Connection HNet_Connection Guid="{1 cc7a32b ED61-46 fe - ACA6 - D35FE411FD06}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{09 da5246 - ED98-4865-8 f3d - FE82996B41D4}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{5 cba604f - 8 e375a02c0f f9 df8 a9d - 4-83-96}" ret: 0 x0
[9652] Get Connection HNet_Connection. Guid="{68127287 - f52 D0CF - 4 - B5A9 - ADA4DCFD2ECC}" ret: 0 x0
[9652] the state is 2
[9652] the state is 2
[9652] the state is 2

[9652] the state is 4
[9652] ControlService stop failed 1052
[9652] E0214 23:47:39. 535096 56100 ServiceManager. CPP: 83] the Service SharedAccessstopped failed. Return0
[9652] the state is 4

[9652] Enter StartDHCP
[9652] the DHCP Thread Begin
[9652] the DHCP Thread start SVC
[9652] CShareDriver: : GetPeers return size: 0
[9652] [WiFiShare] Thread: 68204 CNetworkConnectivity: : _ListenProc Enter
[9652] CShareDriver: : GetPeers return size: 0
[15308] Vector smash protection is enabled.

[9652] [WiFiShare] StationJoin 9 c - F3-87-18-28-08
DHCP: [9652] 9 c - nak F3-18-28-87-08, the req IP: 192.168.137.74
[9652] CShareDriver: : GetPeers return size: 0
[9652] the DHCP: offer IP 9 c - F3-18-28-87-08, IP: 192.168.23.2
[9652] CShareDriver: : GetPeers return size: 0
[9652] the DHCP: offer IP 9 c - F3-18-28-87-08, IP: 192.168.23.3
[9652] CShareDriver: : GetPeers return size: 0
[61516] [PDTDebug] received IDebugThreadDestroyEvent2

[9652] CShareDriver: : GetPeers return size: 0
[9652] the DHCP: offer IP 9 c - F3-18-28-87-08, IP: 192.168.23.2
[9652] CShareDriver: : GetPeers return size: 0
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related