wifi

Send Multiple Pings without waiting for reply Windows C#

自闭症网瘾萝莉.ら 提交于 2019-12-11 00:49:05
问题 Im currently doing research towards my final year BSc project. The final product will include indoor location tracking functionality. The traditional, or most utilised method seems to be RSSI triangulation, but I am keen to attempt to improve the accuracy of the PING method as I think this would be better suited to locations that may suffer from signal attenuation (the locations I am intending to use the device may have a moderate ammount of radio interference). I was wondering if it was

Getting SSID and other information of a wireless network in Java

别说谁变了你拦得住时间么 提交于 2019-12-10 19:47:57
问题 I'm trying to get the SSID of my wireless network device in Java. I tried the official network tutorials http://java.sun.com/docs/books/tutorial/networking/nifs/retrieving.html but getDisplayName() getName() don't return SSID. Is there a way to get an exact SSID? Also, I'm also trying to read the wifi signal strength of all my network devices and couldn't find a way to do it. Can anyone please direct me from where to get all these information (tutorials, code samples etc)? Thanks 回答1: This

Enable/Disable Wifi on non-jailbroken iOS device

雨燕双飞 提交于 2019-12-10 19:27:49
问题 This I needed for my internal app. I want to toggle wifi on ios device. Any framework is available. I tried following code, but it provides me no help. This doesn't change my wifi settings. { Class BluetoothManager = objc_getClass("BluetoothManager"); id btCont = [BluetoothManager sharedInstance]; [self performSelector:@selector(toggle:) withObject:btCont afterDelay:0.1f] ; } - (void)toggle:(id)btCont { BOOL currentState = [btCont enabled] ; [btCont setEnabled:!currentState] ; [btCont

Connect Android device to WiFi printer

余生长醉 提交于 2019-12-10 18:15:47
问题 I want to print my pdf document by my Android phone using wifi on any other way. or please give me a suggestion about it is possible to connect our Device to wifi printer or send our document for printing. I hope, I will get best answer or any suggestion from your side as soon as possible. 回答1: The simplest way I can think of is using Google Cloud print on android 来源: https://stackoverflow.com/questions/6290839/connect-android-device-to-wifi-printer

Prevent WiFi from power off

為{幸葍}努か 提交于 2019-12-10 17:48:59
问题 Backround: Android 2.x running on a Tablet. Is there any way to prevent the WiFi from power off when there are no connection incoming or outgoing? I need the WiFi to stay alive for incoming connection from a server. For now I am doing keep alive calls but that's not that nice. I've googled that already and found out that it is something about powersaving. Is there anyway to come around this? Thanks in advance for any Help on this! 回答1: Try to go to Settings -> Wireless -> Wifi Settings ->

Scanning for WiFi with Java [closed]

旧城冷巷雨未停 提交于 2019-12-10 17:29:20
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . How would one go about scanning for WiFi networks with Java? I have been looking on google but the only snippets I could find were for the Android OS. 回答1: As far as I know, standard (non-Android, J2SE) Java doesn't permit this: Finding SSID of a wireless network with Java Android

Get SSID/ other network information in golang

故事扮演 提交于 2019-12-10 17:28:43
问题 How can I get the SSID and other network information in golang? For example the network to wich I am currently conected. 回答1: There does not seem to be a native Go command to do this. You might instead execute system-specific tools from within your Go code and check their output. Examples are https://github.com/yelinaung/wifi-name (Linux and OS X) or List of available wireless networks with golang (under Linux) or https://github.com/skycoin/skycoin/tree/master/src/aether/wifi (Linux) This

Callback on device connecting to Wifi Hotspot

空扰寡人 提交于 2019-12-10 15:04:57
问题 I am creating WiFi AP programmatically in my application. Do i get any broadcast when new devices connect to my AP. I know we can get the list of the connected devices from the /proc/net/arp but i need a callback when there is a new connection. Any help is appreciated. 回答1: If you don't need to use the AP to connect to the internet but just to communicate in a LAN, you can create a P2P group with WifiP2pManager instance createGroup and listen to WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED

Attempt to invoke virtual method 'android.os.Looper android.content.Context.getMainLooper()' on a null object reference [duplicate]

喜欢而已 提交于 2019-12-10 14:21:11
问题 This question already has answers here : What is a NullPointerException, and how do I fix it? (12 answers) Closed 2 years ago . Hey guys i am getting this error in my Log cat whenever i try to open the application on either my phone or the emulator. To give you an overview of the project that i am currently doing, it is a system that records the data of the devices connected to the access point on the phone which can be toggled on and off via a button on screen. I want to give credit to: 1)

How to detect all available Wifi networks and connect to one of them in an iOS app

…衆ロ難τιáo~ 提交于 2019-12-10 13:43:12
问题 In my iOS app, I want to detect all available wifi networks and then choose one network form the list and connect to it. The goal is to not open the Settings built in app to connect to a wifi, but to do it all in my app. First, is this possible? If possible, please point me to what framework(s) and methods to use. I have looked at the Reachability example, but that doesn't work for me because, I think, all it does is monitor the network state of the device. I also looked at the Captive