wifi

Finding out distance between router and receiver?

懵懂的女人 提交于 2019-12-01 06:39:37
A general question: is it possible to retrieve information about how far away e.g. a computer is from a wifi-router. For instance I want to get data on my computer if I'm 10 meters away from my home-wifispot or 2 meters. Any idea if that is even possible? Edit: How about bluetooth? Is it possible to get information about how far away bluetooth-connected devices are one from another? I would recommend a measuring line or just good-old-fashioned guesstimating. There is no "simple" way to do it (complex ways may involve building "accurate" signal maps ahead of time or trying to fit a better

How to get SSID and RSSI for Win7 using C#

◇◆丶佛笑我妖孽 提交于 2019-12-01 06:27:19
I am very new to Win7 and WMI. Please advice me where to see for active access point from WiFi and how to get ssid/rssi for each access point. I have use: ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_ServiceSetIdentifier", null); ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(@"root\wmi","SELECT * FROM MSNdis_80211_BSSIList"); but I got 0 results. Is this class support Win7? Anybody can help? I had a similar problem where I needed to get the SSID of the currently connected Wifi network but didnt feel like creating a wrapper for the API due to its

Does IOS support simultaneous wifi and 3g/4g connections?

旧时模样 提交于 2019-12-01 06:14:06
I have a customer who has a device that has its own builtin wifi hot spot and he would like to connect it to an iPad 4G vie wifi and forward data at the same time through the cellular connection. Is this supported in IOS and if so can you point me to the appropriate documentation. Any suggestions are appreciated. Jim Comparing to Android, iOS supports simultaneous work of multiple network adapters. It's necessary to write C code working with BSD sockets, doing enum, bind, and handling network interface changes. By the way, it's ideologically very important to continue using that native BSD

Get wifi traffic stats android

左心房为你撑大大i 提交于 2019-12-01 05:31:21
I am developping an app which allows to check wifi and mobile traffic stats on android. That's how I get the stats : long mobileStats = TrafficStats.getMobileRxBytes() + TrafficStats.getMobileTxBytes(); long wifiStats = TrafficStats.getTotalRxBytes() + TrafficStats.getTotalTxBytes() - mobileStats; Unfortunately, wifiStats here seems to be more than wifi only because even when i disable wifi on my smartphone, it gets me tons of data. I think that getTotalRxBytes() and getTotalTxBytes() are counting bytes transmitted and received on all Network Interfaces. I searched a lot on the web how to get

android emulator's wifi says “connected no internet”

半腔热情 提交于 2019-12-01 04:40:58
so no internet works on the emulator and also not (of course) for example in my map application (which is probably the reason why the map doesn't load). why it doesn't work? android studio 3.2 canary 14, emulator Nexus 5X API 26, i think it is that one x86_64 but x86 didn't work too. Mac OS High Sierra. have you tried this? your_path_of_android_sdk\tools\emulator -avd -dns-server 8.8.8.8 来源: https://stackoverflow.com/questions/50355897/android-emulators-wifi-says-connected-no-internet

GitLab (SSH) via public WIFI, port 22 blocked

假如想象 提交于 2019-12-01 03:35:42
问题 I using Starbucks wifi and I get the following when trying to push to a gitlab.com repo: $ git push origin master ssh: connect to host gitlab.com port 22: Connection refused fatal: Could not read from remote repository. I tried adapting a workaround for GitHub: Github (SSH) via public WIFI, port 22 blocked by adding the following to ~/.ssh/config Host gitlab.com Hostname gitlab.com Port 443 But that doesn't work as I get this error: $ git push origin master ssh_exchange_identification:

Get wifi traffic stats android

▼魔方 西西 提交于 2019-12-01 03:09:00
问题 I am developping an app which allows to check wifi and mobile traffic stats on android. That's how I get the stats : long mobileStats = TrafficStats.getMobileRxBytes() + TrafficStats.getMobileTxBytes(); long wifiStats = TrafficStats.getTotalRxBytes() + TrafficStats.getTotalTxBytes() - mobileStats; Unfortunately, wifiStats here seems to be more than wifi only because even when i disable wifi on my smartphone, it gets me tons of data. I think that getTotalRxBytes() and getTotalTxBytes() are

Can an Android device broadcast an SSID?

孤人 提交于 2019-12-01 01:50:47
I want to look at data coming from a Nintendo 3DS on an Android device. The 3DS will automatically try and connect to any router with the SSID of "Nintendo_3DS_continuous_scan_000". I know it should be possible, since tethering apps do essentially the same thing. I've tried looking at Wifi Direct or Wifi P2P , but so far I haven't seen any option to set an SSID. Am I looking at the wrong library for this project? EDIT: I found a library here that handles the Access Points. I've successfully tested it once now, so I'm off to try crazy things. Ryan Smith If the android device can be used as a

android emulator's wifi says “connected no internet”

混江龙づ霸主 提交于 2019-12-01 01:26:47
问题 so no internet works on the emulator and also not (of course) for example in my map application (which is probably the reason why the map doesn't load). why it doesn't work? android studio 3.2 canary 14, emulator Nexus 5X API 26, i think it is that one x86_64 but x86 didn't work too. Mac OS High Sierra. 回答1: have you tried this? your_path_of_android_sdk\tools\emulator -avd -dns-server 8.8.8.8 来源: https://stackoverflow.com/questions/50355897/android-emulators-wifi-says-connected-no-internet

Detecting if Wifi or Bluetooth is turned on or off by the user [closed]

无人久伴 提交于 2019-12-01 00:30:21
How can we determine if Bluetooth or Wifi was turned on/off using the Swift language? My application uses Bluetooth or Wifi to communicate with other devices. We have no problem with these communications, but we would like to inform the user if Wifi and/or Bluetooth is turned off (when the user is using the application). I haven't been able to do this in Swift. For Bluetooth in iOS, you have CBPeripheralManager (in CoreBluetooth Framework). To check for bluetooth connection, you declare your class as delegate of CBPeripheralManager then create a local variable: var myBTManager =