Detecting loss of wireless network

Hello,

I have been working with the MiniCore RCM5600W module, but after a lot of reading of the documentation I have not been able to get an answer to this question.

How can I detect the loss of the wireless network?

I am establishing a connection to our server and after sending some data, I turn off the WiFi router, so the RCM5600W losses the wireless network, but everything seems to be working fine on the program, even after turning on the router again, although obviously it does not send anything to the server anymore.

I am using functions like ifpending and ifstatus, but they do not seem to help on detecting the loss of the wireless network.

How can I do this?

Regards.


Hi and Welcome to MYTechSupport.ca

Does the wireless access point you are connecting to have SSID enabled or disabled?


Hello,

Thank you very much for your reply.

The access point we are using has the SSID enabled and visible, with WEP security enabled.

Regards.