Questions tagged [wifimanager]
WifiManager is the primary Android API for managing all aspects of Wi-Fi connectivity.
wifimanager
662
questions
0
votes
0
answers
17
views
Detect if wifi authentication failed
Want to detect when a Wifi AP is being connected and authentication fails is it due to password failure. Tried using "android.net.wifi.supplicant.STATE_CHANGE" this gives extra **...
0
votes
0
answers
51
views
How to Detect Unsecured Wifi Android
WifiInfo class provides getCurrentSecurityType function but it is available only for API level 31 & above.
private static void detectUnsecureWifiNetwork(Context context) {
WifiManager ...
0
votes
2
answers
172
views
How to check the wifi state in .NET MAUI?
I am looking for a way to check whether the Wi-Fi of the phone is on or off in Dote NET MAUI. Internet connection status is not important, but I just need to check Wi-Fi status.
I used "...
0
votes
0
answers
40
views
WiFi Manager crashes when TLS is enabled on ESP8266
Mine is a basic IoT project using ESP8266. I have integrated Tzapu's WiFi Manager and PubSub Client library for MQTT. It uses a TLS connection using WiFiSecure. The code is mostly copied from example ...
0
votes
1
answer
95
views
ESP32 WiFiManager with SPIFFS and AsyncWebServer library
I am trying to create and set up a Wi-Fi Manager with the ESPAsyncWebServer library that can be modified and used with any web server project or with any project that needs a connection to a Wi-Fi ...
0
votes
0
answers
14
views
Client.connected is unable to detect the network disconnection in runtime. (WiFi.Client)
void setup() {
Serial.begin(115200);
Serial2.begin(115200);
pinMode(AP_SWITCH, INPUT);
pinMode(con_led, OUTPUT);
pinMode(network_led, OUTPUT);
digitalWrite(con_led, HIGH);
digitalWrite(...
1
vote
2
answers
65
views
How do I restart ESP 12e when it is in access point mode?
I am using an ESP 12e on a MQTT system. When it first starts up I have wifiManager open an access point so the user can put in the wifi, password, MQTT name and Key. This all works fine.
However ...
0
votes
0
answers
103
views
Fetching Wifi-Scanning location system setting on Android without deprecated functions
I need to figure out whether the Wifi-Scanning setting is turned on or turned off in the location settings. Both ways to do this seem to be deprecated.
The following two ways seem to get the desired ...
0
votes
1
answer
48
views
How to Turn on LocalOnlyHotspot using WifiNetworkSpecifier.Builder as WifiConfiguration is Deprecated?
Here is My code-
public void turnOnLocalOnlyHotspot(Context context) {
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
...
0
votes
0
answers
21
views
wifi scanner broadcast receiver only registered once but continuously returning results
This is my broadcast receiver which is taken from the wifi manager documentation:
private val wifiScanReceiver = object : BroadcastReceiver() {
override fun onReceive(context: Context, intent: ...
0
votes
1
answer
136
views
Android WiFi Aware - Error when creating multiple connections
Similarly to the question presented there, I'm currently developing an Android App that utilizes Wi-Fi Aware API in order to establish device-to-device connections. After the Discovery process is ...
0
votes
0
answers
41
views
ESP32 RTCWDT_RTC_RESET Error during WiFiManager Initialization
I'm geting this error when I upload the program to the ESP32 but what I get in console is this message:
12:16:44.738 -> ets Jul 29 2019 12:21:46
12:16:44.738 ->
12:16:44.738 -> rst:0x10 (...
0
votes
0
answers
32
views
com.samsung.android.net.wifi.WIFI_AP_STA_STATE_CHANGED does not have support for version higher than 11 (Android/Kotlin)
Trying to find a new way to keep using com.samsung.android.net.wifi.WIFI_AP_STA_STATE_CHANGED in Android (Kotlin) but unfortunately after OS 11 (API 30) it does not have support,
does anyone is using ...
0
votes
0
answers
109
views
Phone switches Wifi Network from IOT Wi-fi to known network in Android 14
Our Android app connects to an IOT device Wi-Fi programatically and then communicates over TCP/IP socket.
Connection to IOT Wi-Fi is initiated using ConnectivityManager requestNetwork.
We have a weird ...
0
votes
1
answer
135
views
Android - Target sdk Version = 29 but Didnt get Wifi Mac Address in API Level 33 (Android OS 13)
With Android Target Version = 29, Compile SDK = 29
I got Wifi Mac Address in Android 10, 11, 12, But I can't get WiFI Mac Address in Android 13 only.
we Got Default Mac Address only 02:00:00:00:00:00.
...