Page 1 of 1

wifi.mode

Posted: Thu Sep 30, 2021 1:27 pm
by Stockers
the Annex Help file shows:-
WIFI.MODE
Returns the current mode of the WIFI connection.
The returned value is:
VALUE MEANING
0 The WIFI is in sleep mode
1 The WIFI is in STATION mode
2 The WIFI is in AP mode

However, when I set AP mode, I get a returned value of 3. What does this mean?

Re: wifi.mode

Posted: Fri Oct 01, 2021 11:40 am
by Electroguard
If you highlight the instruction in the script editor and press F2, the context-sensitive help will give you the appropriate syntax.
I've just done that for Annex32 1.43.5 and it shows that 3 denotes that the WIFI is in AP+STA mode

Re: wifi.mode

Posted: Fri Oct 01, 2021 1:03 pm
by Stockers
Ah! That makes sense.
Many thanks EG