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

[A6] - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure #57

Open
mcr-ksh opened this issue Jul 18, 2017 · 5 comments
Open

[A6] - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure #57

mcr-ksh opened this issue Jul 18, 2017 · 5 comments
Labels

Comments

@mcr-ksh
Copy link

mcr-ksh commented Jul 18, 2017

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.

@vshymanskyy
Copy link
Owner

you didn't specify any details of your hardware setup

@mcr-ksh mcr-ksh changed the title AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure A20/A6 - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure Jul 19, 2017
@mcr-ksh mcr-ksh changed the title A20/A6 - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure [A6] - AT+CIPCLOSE=ID ERROR upon AT+CIPSEND failure Jul 19, 2017
@FabianInostroza
Copy link

FabianInostroza commented Aug 5, 2017

Hi @mcr-ksh, look at #62 and my PR #65, I think this is the same problem, unfortunately I don't have an A6 modem to test

@vshymanskyy
Copy link
Owner

This bug is confirmed

@xvinny-zz
Copy link

Any advance on this?

@SRGDamia1
Copy link
Collaborator

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
Labels
Projects
None yet
Development

No branches or pull requests

5 participants