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

[Test app] Test app starts testing with first connected device #488

Open
philips77 opened this issue Apr 4, 2023 · 1 comment
Open

[Test app] Test app starts testing with first connected device #488

philips77 opened this issue Apr 4, 2023 · 1 comment
Assignees

Comments

@philips77
Copy link
Member

I have a watch connected to my phone. When I run the test app and select Advertise it sets up the GATT server and even before it starts advertising the server will immediately receive onConnectionStateChange event for the connected watch.
The app displays Service Discovery and Device Connected as success and nothing happens afterwards.

I have to disconnect all BLE devices before starting the test as server. Otherwise the test is started with the device that was first reported.

@philips77
Copy link
Member Author

Ideally, the client impl should also have a GATT service (which may be empty) and the server should verify that the service is there. Otherwise it shall ignore the connection and wait for another one.

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

2 participants