wifi

How to find devices via Wi-fi peer 2 peer, that have the same app installed?

倖福魔咒の 提交于 2019-12-23 04:24:10
问题 I am quite new in the Android development. I have an app that tries to connect to other devices running android via Wi-Fi peer 2 peer. What I want to do is to see only the devices that have the same app installed rather than see all the available peers. Thanks in advance. 回答1: Yeah you can do this!! :) Try using the Wifi P2p for Service Discovery. Actually, the link is a training which teaches exactly what you want. So, what you basically want to do is create a WifiP2pDnsSdServiceInfo object

RadioTap headers in scapy

牧云@^-^@ 提交于 2019-12-23 03:46:11
问题 I'm trying to send and receive packets with scapy and read the RadioTap Header. The wireless adapter (and driver) is able to handle those headers, but I can't seem to get them. Whenever I send a normal packet in scapy, is does not contain such a header (thus, sniffing packets and checking one with pkt.haslayer(RadioTap) returns "0", and I am not able to display the header like with pkt[RadioTap].show() ). If I explicitely construct my packets with a RadioTap header (like in a pkt = RadioTap()

How to invoke system dialog for “Connect to” secured network?

泄露秘密 提交于 2019-12-23 03:07:30
问题 My application needs to establish a new Wi-Fi connection to a secured network. The catch is that the application does not know the password/key/passphrase or whatever it is called for WEP/WPA. And it should not know! In such case, I would like my application to invoke the system "Connect to" dialog. Only the system WifiManager should remember this password, and the fact that my application is not involved should be obvious to the end user. Is this possible? I thought that it should be similar

Keep WiFi Connection active even iPad is going into sleep mode/locked in iOS 5

佐手、 提交于 2019-12-23 02:36:55
问题 I know that on iOS 4 , the Wi-Fi connection used to be persistent, so going into sleep mode/locked kept the connection ON . This was modified in the next version iOS 5 to improve battery life. In iOS 5 , requiring the device to be plugged into a power source in order to have a persistent Wi-Fi connection. Wi-Fi connection is disconnecting automatically after iPad is going into sleep mode/locked . Here comes my problem, I'm sending a bulk chunk of data through WiFi which may take too much time

xcode - how use MobileWiFi.framework

穿精又带淫゛_ 提交于 2019-12-23 01:22:10
问题 In my private app (not jailbroken), I need to read wifi RSSI values of enterprise hotspots. I read about MobileWiFi.framework. I am trying to use the example code "Getting the WiFi signal strength" found here but without lucky. Probably, I am not properly use the framework. Anyone could tell me the steps to do that? 回答1: visit : // http://iphonedevwiki.net/index.php/MobileWiFi.framework <key>com.apple.wifi.manager-access</key> </true> Your custom entitlements file should finally look

Debian 7.4 - Wifi key disabled & how to set up the wifi card driver? [closed]

两盒软妹~` 提交于 2019-12-23 01:18:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I did hazardous changes after facing wifi problems on last debian 7.4 software update. My wifi keyboard key doesn't switch wifi on/off anymore. It keeps the off state. Wifi key After searching google I found that $ sudo apt-get install rfkill $ rfkill list 0: hp-wifi: Wireless LAN Soft blocked: yes Hard blocked:

Implement MobileWIFI Private Framework in Xcode 7.3

岁酱吖の 提交于 2019-12-22 18:03:59
问题 I am creating a private App in Xcode 7.3 ( iOS 9.3) , where I am going to utilize the WiFi Info. I have Followed this link , Bluetooth Private Framework works fine However: I am trying to implement Private Framework " MobileWIFI.Framework " in XCode 7.3 , but it gives me this error: "_WiFiManagerClientCopyNetworks", referenced from: - [AppDelegate application:didFinishLaunchingWithOptions:] in AppDelegate.o "_WiFiManagerClientCreate", referenced from: -[AppDelegate application

How to use android to connect to an ESP8266 access point without internet in a stable way?

梦想与她 提交于 2019-12-22 17:38:19
问题 I have a Wifi Micro controller ESP8266 which also has an access point. I have referred to other blogs which talk about programmatically connecting to an access point and tried both the way Using the exposed standard APIS wifiManager.enableNetwork(netId, true); wifiManager.saveConfiguration(); wifiManager.reconnect(); Using the APIs which have @ hide on them wifiManager.connect(netId, ActionListener) The problem I am facing is that some time after i connect to the access point its getting

Download large file in Android

我的未来我决定 提交于 2019-12-22 12:39:07
问题 I have an app that downloads a very large file (over 50MB). Unfortunately I'm getting reports that the download fails. Below is the logcat of one such failure, which ends with a java.net.SocketException: The operation timed out . In-between it has various messages from the WifiMonitor . I don't know how to interpret these messages. Is there something special that I should do to download a large file, or is this simply a connection problem? 09-02 16:41:19.925 I/ActivityManager( 646): Displayed

Download large file in Android

谁说我不能喝 提交于 2019-12-22 12:39:02
问题 I have an app that downloads a very large file (over 50MB). Unfortunately I'm getting reports that the download fails. Below is the logcat of one such failure, which ends with a java.net.SocketException: The operation timed out . In-between it has various messages from the WifiMonitor . I don't know how to interpret these messages. Is there something special that I should do to download a large file, or is this simply a connection problem? 09-02 16:41:19.925 I/ActivityManager( 646): Displayed