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

Add ability to disconnect and remove simulated device #121

Open
tomrozb opened this issue Oct 14, 2020 · 0 comments
Open

Add ability to disconnect and remove simulated device #121

tomrozb opened this issue Oct 14, 2020 · 0 comments

Comments

@tomrozb
Copy link

tomrozb commented Oct 14, 2020

I'm trying to write a driver test with simulated device, that checks connection state presented in app UI when the BLE connection is lost. I've not found API in blemulator to disconnect and remove the simulated device.

Despite the fact I found a workaround for this I'd like to see official API for removing simulated devices.

Right now I just call onDisconnect on the simulated device and return false from onConnectRequest. I think removing the device from blemulator would be much better solution.

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