General > Technical support

WX100 WIFI Connection Status

(1/1)

uknanoman:
Hi Support
               In my current application I would like to know the status of the WIFI Connection, is there a specific bit I can test that gives me the connection state of the WIFI so that I can make decisions based on whether it has connected to a WIFi network or not? I did have a look at the STATUS(14) bit 6 command but I am not sure if this distinguishes between the fact that the WX100 is connected to a wireless network or that a client (remote user) is connected through that network? My end game here is to only allow my application main code to run if the wx100 has connected to the local WIFI network and if not, then display a message to indicate the fact. Some extra clarification would be appreciated.
Regards Peter     

support:
You can use STATUS(22) which indicates a successful WiFi connection when it returns a 1.

E.g.

IF STATUS(22) <> 1      ' WiFi is not yet connected. Do nothing now.
   RETURN
ENDIF

uknanoman:
Hi Support
               Thanks for the prompt response. I notice that the online manual for the WX100 doesn’t seem to document this. Is it documented elsewhere?

Regards Peter

support:
Thank you for the report.

We have added the following section to the Wx100 online documentation:

https://docs.triplc.com/#7304

Navigation

[0] Message Index

Go to full version