Skip to content

Conversation

Mechazawa
Copy link
Owner

@Mechazawa Mechazawa commented May 28, 2018

Also cleaning up the codebase
closes #8

@Mechazawa
Copy link
Owner Author

Right now I can connect to my drone but I'm not receiving anything nor are commands arriving. Try the modified examples/toggleAutoTakeOff.js.

@Mechazawa
Copy link
Owner Author

I got wifi to work 🕺

@Mechazawa
Copy link
Owner Author

I kinda forgot what I had left to do :/

_setupPeripheral() {
this.peripheral.discoverAllServicesAndCharacteristics((err, services, characteristics) => {
if (err) {
throw err;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can anything even catch this error? 😅

Comment on lines +57 to +59
get connected() {
return this.browser && this.server && this.client;
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
get connected() {
return this.browser && this.server && this.client;
}
get connected() {
return !this.browser && this.server && this.client;
}

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

Successfully merging this pull request may close these issues.

Add WiFi support

1 participant