access-point

how to get Distance between wifi access point and Mobile Device

眉间皱痕 提交于 2019-12-09 07:18:43
问题 i am developing an android application which have module to search all nearest / detected wifi hotspot. i can get all detail from searched wifi hotspot like, SSID, BSSID, capabilities, frequency, level and timestamp with these information, i also need Distance of wifi ( The distance between wifi accesspoint and Mobile Device ) i am using below lines to get Distance. double exp = (27.55 - (20 * Math.log10(freqInMHz)) + Math.abs(levelInDb)) / 20.0; double distanceM = Math.pow(10.0, exp); this

Is it possible for android devices to exchange messages over an access point and request a list of connected devices to this AP?

北城以北 提交于 2019-12-07 23:48:01
问题 I am developing an application which should connect to an open WiFi access point and exchange messages with devices that are also connected to this access point. Lets assume the access point is open and has no restrictions. Would it be possible to request a list of the IP addresses of the devices which are connected to it? Then if we have the address would it be possible to initiate a connection and exchange messages with that device? Have you seen any similiar projects/apps? (Is it possible

Is it possible for android devices to exchange messages over an access point and request a list of connected devices to this AP?

ε祈祈猫儿з 提交于 2019-12-06 10:04:29
I am developing an application which should connect to an open WiFi access point and exchange messages with devices that are also connected to this access point. Lets assume the access point is open and has no restrictions. Would it be possible to request a list of the IP addresses of the devices which are connected to it? Then if we have the address would it be possible to initiate a connection and exchange messages with that device? Have you seen any similiar projects/apps? (Is it possible to do with regular access points without hacking?) Thanks, any snippets/thoughts will be highly

What is the difference between active scan and passive scan?

我是研究僧i 提交于 2019-12-05 15:16:51
问题 What is the difference between mWifiManager.startScanActive() and mWifiManager.startScan() . What is the difference between active scan and passive scan ? 回答1: Passive scanning listens to beacons sent by the access points. That means waiting for the beacon to be sent (usually a few seconds). An active scanning will emit probes to those APs immediately. 回答2: please note that an active scan will consume more energy and as "ordinary" wifi access points broadcast their beacons several times per

ways for a client to identify the specific access point it is connected to within a single SSID?

混江龙づ霸主 提交于 2019-12-04 19:37:37
The problem is as follows - there's a university campus wide wifi connection with a single SSID, say "campus-wifi". The user freely roams around campus, and the usual hand-off between access points occurs. My question is, is there any information at any layer of the network stack that allows the client to identify (any unique identifier is fine) the specific access point they're connected to, rather than simply the fact that they are connected to "campus-wifi"? If it's relevant, I'd like to be able to do this from mobile devices (android/iOS primarily). You can get the BSSID of the access

What is the difference between active scan and passive scan?

偶尔善良 提交于 2019-12-04 01:19:39
What is the difference between mWifiManager.startScanActive() and mWifiManager.startScan() . What is the difference between active scan and passive scan ? Passive scanning listens to beacons sent by the access points. That means waiting for the beacon to be sent (usually a few seconds). An active scanning will emit probes to those APs immediately. please note that an active scan will consume more energy and as "ordinary" wifi access points broadcast their beacons several times per second, an active scan is rarely needed. e.g. requesting a list of wifi networks in reach takes approx 0.7 seconds

how to get Distance between wifi access point and Mobile Device

余生长醉 提交于 2019-12-03 09:11:37
i am developing an android application which have module to search all nearest / detected wifi hotspot. i can get all detail from searched wifi hotspot like, SSID, BSSID, capabilities, frequency, level and timestamp with these information, i also need Distance of wifi ( The distance between wifi accesspoint and Mobile Device ) i am using below lines to get Distance. double exp = (27.55 - (20 * Math.log10(freqInMHz)) + Math.abs(levelInDb)) / 20.0; double distanceM = Math.pow(10.0, exp); this will return distance in meter. i got these code by reserch on google from many pages. but i think i am

Connect to password protected wifi network using adb shell

放肆的年华 提交于 2019-12-03 05:59:20
问题 I have an Android phone, and the goal is to connect the phone to a password protected wifi network. Steps I know so far: adb root adb shell svc wifi enable Ok sweet, wifi is turned on. Now I need to connect the phone a certain wireless network that requires a password. I am hoping I can connect using an adb shell command. Any help? I would rather not download programs onto the device 回答1: This is possible to achieve using wpa_cli , command line interface of wpa_supplicant : # Enable WiFi adb

WiFi Direct device connection with other Android devices

扶醉桌前 提交于 2019-12-01 13:39:09
Can I connect a WiFi Direct enabled device to any other device which doesn't have WiFi Direct feature but supports WiFi hotspot connection? Does WiFi direct uses specialized hardware to be present on both devices? Will network discovery work in such cases? It is possible. Code taken from a talk I gave at Droidcon UK 2013. You need to call the createGroup(WifiP2pManager.Channel c, WifiP2pManager.ActionListener listener) method of the WifiP2pManager class. This will create a Wi-Fi Direct group that supports legacy Wi-Fi connections. Prior to the call, you need to register a broadcast receiver