Questions tagged [wifi]

GENERAL WI-FI SUPPORT IS OFF-TOPIC. Questions about hardware support should be directed to https://superuser.com. This tag should be used for questions about writing software that directly interacts with Wi-Fi devices.

Wi-Fi is a common synonym of wireless networking. Questions in this tag should be about writing software that directly interfaces with a wireless networking device. Do not use this tag for

  • Hardware support (those can be directed to Super User, a site specifically about technical support)
  • General networking questions. If your communication is merely over wireless networking then do not use this tag

General Information

The coverage of one or more (interconnected) access points — called hotspots when offering public access — generally comprises an area the size of a few rooms but may be expanded to cover many square miles, depending on the number of access points with overlapping coverage.

'Wi-Fi' is not a technical term. However, the Alliance has generally enforced its use to describe only a narrow range of connectivity technologies including wireless local area network (WLAN) based on the IEEE 802.11 standards, device to device connectivity [such as Wi-Fi Peer to Peer AKA Wi-Fi Direct], and a range of technologies that support PAN, LAN and even WAN connections. Derivative terms, such as Super Wi-Fi, coined by the U.S. Federal Communications Commission (FCC) to describe proposed networking in the former UHF TV band in the US, may or may not be sanctioned by the alliance. As of November 2010 this was very unclear.

The technical term "IEEE 802.11" has been used interchangeably with Wi-Fi, but over the past few years Wi-Fi has become a superset of IEEE 802.11. Wi-Fi is used by over 700 million people, there are over 750,000 hotspots (places with Wi-Fi Internet connectivity) around the world, and about 800 million new Wi-Fi devices every year. Wi-Fi products that complete the Wi-Fi Alliance interoperability certification testing successfully can use the Wi-Fi CERTIFIED designation and trademark.

Wi-Fi certified and compliant devices are installed in many personal computers, video game consoles, MP3 players, smartphones, printers, digital cameras, and laptop computers.

https://en.wikipedia.org/wiki/Wi-Fi

5784 questions
64
votes
13 answers

Android turn On/Off WiFi HotSpot programmatically

Is there an API to turn On/Off the WiFi HotSpot on Android programmatically? What methods should I call to turn it On/Off? UPDATE:There's this option to have the HotSpot enabled, and just turn On/Off the WiFi, but this is not a good solution for me.
mxg
  • 19,703
  • 12
  • 56
  • 77
61
votes
4 answers

How to get name of wifi-network out of android using android API?

I thought that I should use NetworkInterface::getDisplayName. I got some name, but this name is different that this name which I can see, when I choosing to which network I want to connect.
noisy
  • 5,701
  • 9
  • 47
  • 86
58
votes
4 answers

Checking Wi-Fi enabled or not on Android

What would the code be for checking whether the Wi-Fi is enabled or not?
inforg
  • 749
  • 2
  • 8
  • 15
55
votes
6 answers

Wifi Connect-Disconnect Listener

Which listener does my class have to implement inorder to automatically check code if the wifi connects/disconnects? I'm able to manually check for wifi connection/disconnection but each time I need to connect/disconnect WIFI from android settings…
Neha
  • 549
  • 1
  • 5
  • 6
55
votes
4 answers

Android apps, communicating with a device plugged in the USB port

I'm thinking about an Android app (with possibly an accompanying physical device), and I'm trying to figure out whether this is something that's feasible. 1) Let's say I plug my Android to my PC. Would it be possible for an app installed on the PC…
Daniel Magliola
  • 27,613
  • 56
  • 154
  • 235
47
votes
9 answers

iOS - How to programmatically connect to a WiFi network given the SSID and password

I am trying to replicate an existing Android Application that I made to iOS. In my application, I should be able to connect to a WiFi network given the SSID and the Password. The SSID and the Password can be hardcoded or can be inputted by the user.…
Razgriz
  • 6,640
  • 12
  • 63
  • 138
46
votes
4 answers

How nl80211 library & cfg80211 work?

I want to learn about how nl80211 and cfg80211 works in detail. Function flow, how nl80211 interact with network tools like wpa_supplicant, iw. Plz suggest me some useful links or books to refer.
Rafal
  • 990
  • 3
  • 12
  • 22
44
votes
7 answers

Bluetooth and WIFI Printing for Android

We would need a portable printer (handheld, it is important) that can connect to android phone via bluetooth or wifi. What I know currently: No standard printing SDK available for Android this time There is a non official SDK called iPrint SDK.…
Gábor Lipták
  • 9,169
  • 2
  • 50
  • 108
43
votes
3 answers

ADB, Wifi and Eclipse: how I can configure?

Recently I see that is possible to debug app development by use WIFI instead of USB debug method. I make a search and I found an app called abdWireless but I have a problem. How I can tell to Eclipse to connect via Wifi method? I think that it is an…
David Rodrigues
  • 10,690
  • 14
  • 51
  • 83
42
votes
11 answers

Getting MAC address in Android 6.0

I'm developing an app that gets the MAC address of the device, but since Android 6.0 my code doesn't work, giving me an incorrect value. Here's my code... public String ObtenMAC() { WifiManager manager = (WifiManager)…
Mazinger
  • 633
  • 1
  • 5
  • 12
42
votes
2 answers

iOS / Too frequent rssi event from driver..?

So my question came up looking an the console output of some iOS 7.0.x devices via iPhone Configuration Utility the other day. I was puzzled to see several indications that the WiFi daemon registers WiFi rssi activity out of the blue for no apparent…
RTouris
  • 421
  • 3
  • 3
34
votes
6 answers

BroadcastReceiver receives multiple identical messages for one event

I registered a receiver that listens to network events:
Sver
  • 3,179
  • 5
  • 29
  • 52
34
votes
5 answers

Force Android to Use Wifi network with no internet

I am building an android app that needs to communicate over a WiFi network that will not have any internet access. The problem is that even when the WiFi is connected android chooses to use cellular/mobile data when no connection internet is present…
Lonergan6275
  • 1,739
  • 5
  • 28
  • 61
34
votes
9 answers

java.net.ConnectException: failed to connect to /192.168.253.3 (port 2468): connect failed: ECONNREFUSED (Connection refused)

I want to transfer some data between PC and a mobile phone with WiFi. This is how I get the WiFi IP address: String ip = String.format( "%d.%d.%d.%d", (wifiInfo.getIpAddress() & 0xff), …
Entel
  • 549
  • 2
  • 7
  • 12
33
votes
7 answers

use "netsh wlan set hostednetwork ..." to create a wifi hotspot and the authentication can't work correctly

I run netsh wlan show drivers and get the output containing Hosted network supported : Yes: Interface name: Wireless Network Connection Driver : Broadcom 802.11n Network Adapter Vendor : Broadcom Provider …
Weekend
  • 1,371
  • 1
  • 16
  • 24