Answer the question
In order to leave comments, you need to log in
How to make an android phone automatically start distributing WiFi ONLY when a consumer device appears?
There is a phone with a SIM card that distributes WiFi, there is a tablet that consumes it. How to make sure that the phone, in order to save electricity, stops distributing WiFi when the tablet is turned off (i.e., for example, there is no device on the air with a given MAC address)?
Answer the question
In order to leave comments, you need to log in
No way.
If he does not broadcast his call signs, the client will not know about him and will not be able to connect.
And even more so, how will he determine that there is a device on the air with a given poppy address if it is turned off?
While there are no clients, he consumes the minimum anyway, because he simply listens to the air and transmits call signs.
The main load, and hence the consumption of electricity, occurs when there is an active exchange of traffic with the connected client.
On routers, in the access point settings, there is a "Enable SSID Broadcast" mode. It is enabled by default. If you disable it, then when scanning networks, this network will not be detected, because. she stops giving her name. In this mode, it is called hidden and you can connect to it knowing not only the password, but also the network name. But there are two buts. Even in this mode, the access point transmits something (I don’t remember what exactly), and I can’t say if the android has this function.
Theoretically, it is possible to organize only a shutdown due to idle time, when there is no connected client for a certain time, but there is no way to organize the inclusion, since logically it is done that the client connects to one of the active hosts and to connect your host must be active (turned on, distribute data) .
There remains only an option, for example, with bluetooth turned on (they seem to consume less than wifi, and they are often simple to turn on if there is a headset), set it up on the phone as a thread, so that when the SSID of the tablet appears on the air of the bluetooth, turn on the hotspot on the phone and turn it off when disappearance or downtime.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question