-
Notifications
You must be signed in to change notification settings - Fork 709
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
[A6] - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure #57
Labels
Comments
you didn't specify any details of your hardware setup |
This bug is confirmed |
Any advance on this? |
Not that I'm aware of; I don't have one of these modules to test. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hardware: SoftwareSerial on A20/A6 (13, 15) baud 38400.
apparently the lib does not handle the close properly when a sending failure occurred or any other error occurs (dont know what exactly happends).
Closing the socket aka httpclient->stop(); will trigger the AT+CIPCLOSE=mux, which results in an ERR, especially if the CIPSTART was not successful. Thus the successive CIPSTART can only be closed via "CIPCLOSE" without the "=1".
My assumption:
AT+IPMUX=1 was set at some point. However, there is only one connection opened
and closing that connection will cause an ERROR when calling AT+CIPCLOSE=1.
Every other further connection is then blocked. only a "AT+CIPCLOSE", without the =1, does the trick.
The text was updated successfully, but these errors were encountered: