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

Detect when drone is disconnected (powered off) #4

Open
gotleg opened this issue Nov 23, 2016 · 1 comment
Open

Detect when drone is disconnected (powered off) #4

gotleg opened this issue Nov 23, 2016 · 1 comment

Comments

@gotleg
Copy link
Contributor

gotleg commented Nov 23, 2016

When the drone is turned off, we are not aware of it.
Already tried to use peripheral.on('disconnect', ...) or noble.on('disconnect', ...) with no effect.
Maybe we should try to implement some kind of ping to check that drone is alive.

@nicostuhlfauth
Copy link

I totally agree. If the drone is not powered on / available and I call new Drone() with autoconnect enabled, the program crashes.

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