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

Connection Times out after about 7 seconds #11

Open
munsterlander opened this issue Oct 10, 2019 · 0 comments
Open

Connection Times out after about 7 seconds #11

munsterlander opened this issue Oct 10, 2019 · 0 comments

Comments

@munsterlander
Copy link

Hello, I am running the plugin and the HelloAccessory sample app. The peer device and the watch connect and exchange messages without issue. The issue is that after you click connect on the watch, it will automatically call connectionClosed after about 7 seconds and the debug output states:

Service connection lost, Reason : [PEER_DISCONNECTED]

This is a result of the agentCallback and more specifically the SASocket.setSocketStatusListener. Any thoughts as to why the status is changing and how to keep the connection persistent?

Thank you!

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

1 participant