Wifi enabling means "wifi is being turned on". %WIFI is on when wifi
is on, regardless of connection status.
If you want to check the connection, use %WIFII variable (Wifi Info) -
if you're connected it will have CONNECTION string inside, so you
could search for *connection* pattern.
But for your purpose, I think Wifi Connected state context should do
the trick.
BR,
A.
On Aug 17, 9:55 pm, Reiner Critides <
reinercriti...@gmail.com> wrote:
> WiFi Status (dynamic) - %WIFI
> Whether WiFi is on or off. Note: if WiFi is enabling or disabled, in
> fact anything but enabled, it's classed as off.
>
> So when wifi is on, but not connected to a network it is classified as
> 'off''?
>
> I am trying to have it so that when I leave range of any wifi I am
> currently connected to, it will shut off wifi instead of eating
> battery by polling for a connection.
>
> If I am interpreting this variable correctly, then all I need it to do
> is to turn off wifi when %WIFI=off. Does this sound correct? or has
> anyone else achieved this using a different method?