-
Notifications
You must be signed in to change notification settings - Fork 125
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
Sometimes "receive custom data" is not returning IP address after successful connection #35
Comments
@XuXiangJun |
So you implemented the function of returning the IP address on the device side, right? Normally, if there is no operation on the APP side, the connection should not be disconnected. |
Hi @XuXiangJun |
I noticed after the post configure params complete there seems to be a very short waiting time as the Disconnected is triggered very fast. Is there a way to keep the window open longer after post configure params complete step? |
APP will never close the connection actively unless you press the disconnect button. |
When the connection was disconnected, the error status is not printed, indicating that this is a normal disconnection. |
I see, so you mean the APP is not closing the connection and it could be the device that's setting the timeout after "post configure params complete" step? |
I tried it with the official ESP BLUFI App (https://github.com/EspressifApp/EspBlufiForAndroid/releases/download/v1.5.3/EspBluFi-1.5.3-24.apk)
the connection is always successful which is a good thing but sometimes the "Receive custom data" is not returning the IP address.
Is there any way to increase the wait time?
I have already increased my
GATT_WRITE_TIMEOUT = 10000L;
but I guess this is only the write time, how can I increase the response wait time?
The text was updated successfully, but these errors were encountered: