wifi.mode

Recurrent H/W and software problems
Post Reply
Stockers
Posts: 10
Joined: Mon Feb 22, 2021 7:59 am
Has thanked: 1 time

wifi.mode

Post 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?
User avatar
Electroguard
Posts: 835
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 267 times
Been thanked: 317 times

Re: wifi.mode

Post 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
Stockers
Posts: 10
Joined: Mon Feb 22, 2021 7:59 am
Has thanked: 1 time

Re: wifi.mode

Post by Stockers »

Ah! That makes sense.
Many thanks EG
Post Reply