1

I am using an Arduino board with an ESP8266 module to connect to a WiFi device. How do I check if the device is connected?

1
  • Which Arduino board? Check the associated stations on your router to see if the device is associated (connected) to your router Commented Jul 16, 2016 at 12:54

2 Answers 2

2

You can use:

AT+ CWJAP?

or

AT+ CIPSTATUS 

to see if you're connected to wifi. (The first will tell you access point status, the second will tell you IP address.)

2
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – jfpoilpret
    Commented Sep 14, 2016 at 22:11
  • Revised to be the form of an answer :-) Commented Sep 15, 2016 at 18:57
0

Firstly,If your ESP8266 module is coded then AT commands won't be responding directly, In that case You can check in Serial monitor(if u already wrote print in the existing code on module) else u have to flash a new code.

If didn't flash any code then use AT commands(AT+CWJAP?) for checking SSID. (AT+ CIPSTATUS) for IP adress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.