Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open SSID not working #4

Open
RAD750 opened this issue May 16, 2015 · 9 comments
Open

Open SSID not working #4

RAD750 opened this issue May 16, 2015 · 9 comments

Comments

@RAD750
Copy link

RAD750 commented May 16, 2015

Hello,
when I try to connect to my Open Wi-Fi SSID the library returns an error message:
Missing SSID/Password, see sketch #defines.

How can I connect on a wifi with no password?
thanks

@sleemanj
Copy link
Owner

You would have to modify the library to do so. I recommend to add a
password to your network.

On 2015-05-16 18:18, RAD750 wrote:

Hello,
when I try to connect to my Open Wi-Fi SSID the library returns an error message:
Missing SSID/Password, see sketch #defines.

How can I connect on a wifi with no password?
thanks

Reply to this email directly or view it on GitHub [1].

Links:

[1] #4

@RAD750
Copy link
Author

RAD750 commented May 16, 2015

Thanks for the quick repsonse. Now I've added a password on a separate MULTISSID so I leave the main network intact.
The library now returns this:
ESP8266 Demo Server Sketch
Reset: General Error
Reset: OK
Connect: Device issued "ready" unexpectedly (rebooted)
Connect: Timeout Waiting For Response
Connect: Device Is Busy
and continues to say that it is busy.
The blue LED is flashing on the ESP8266 at the same time as the TX led on the arduino so it's communicating. Any clues?
Thanks again

@sleemanj
Copy link
Owner

Ensure you use correct version of firmware (see README.md for note),
ensure you have good power supply.

You can remove the line 46 and 47 in ESP8266_Simple.h to enable
additional debug output

https://github.com/sleemanj/ESP8266_Simple/blob/master/ESP8266_Simple.h#L46-L47

On 2015-05-16 18:28, RAD750 wrote:

Thanks for the quick repsonse. Now I've added a password on a separate MULTISSID so I leave the main network intact.
The library now returns this:
ESP8266 Demo Server Sketch
Reset: General Error
Reset: OK
Connect: Device issued "ready" unexpectedly (rebooted)
Connect: Timeout Waiting For Response
The blue LED is flashing on the ESP8266 at the same time as the TX led on the arduino so it's communicating. Any clues?
Thanks again

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#4 (comment)

@WhitedeathHarry
Copy link

I am getting this

ESP8266 Demo Sketch
Reset: OK
Connect: Overflow In Serial Buffer
Connect: OK
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: Overflow In Serial Buffer
IP Address: 0.0.0.0

can you please tell what is the problem.Its urgent.thanks in advance.

@ghost
Copy link

ghost commented Apr 8, 2018

I am getting the same error as WhitedeathHarry...Any solution yet?

@sleemanj
Copy link
Owner

sleemanj commented Apr 8, 2018

Assuming your device is not getting an IPv6 address (not going to work) then on line 293 of ESP8266_Simple.cpp

https://github.com/sleemanj/ESP8266_Simple/blob/master/ESP8266_Simple.cpp#L293

try increasing the buffer size by a couple of bytes, maybe there is a newline handling issue and addresses using a full 3 digits for each octet cause an overflow.

Just a guess.

@ghost
Copy link

ghost commented Apr 8, 2018

Thanks sleemanj, I do still seem to get that message, but it goes away quicker. However, it do get the right IPAddress when I request it.

@sleemanj
Copy link
Owner

sleemanj commented Apr 8, 2018

As long as it works in the end that's probably OK, it intentionally continue to retry until it works.

Otherwise you would need to debug this further yourself your device sounds like it is sending more data than my ones did when I wrote the library, you might also be getting garbage due to bad connections, baud rate mismatch, timing errors (eg especially if you were running on your ATMega's internal oscillator),

You can enable more debugging output which may help, change 0 to 1 on line 43 of ESP8266_Simple.h
https://github.com/sleemanj/ESP8266_Simple/blob/master/ESP8266_Simple.h#L43

@cyrusdiego
Copy link

Hi,

I keep getting a general error when trying the HelloWorld.ino sketch. Any suggestions as to fixing it? Would an external 3.3V power supply be necessary? Most projects I see online seem to work fine with using the Arduino's 3.3V power supply. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants