Comments (2)
I resolved this by commenting out ble.stopScanning() in /adaptors/ble.js. Please see this commit for the exact change. jongio@788e944
You can either make that change locally or you can use my fork.
from sphero.js.
My systems:
- Linux 4.10.13-1-ARCH x86_64 GNU/Linux (Some intel in-built wifi/bluetooth chip)
- Linux 4.9.25-1-ARCH armv71 GNU/Linux (0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI Mode))
On both: [email protected], [email protected]
Needs:
I want to connect to two BB8s.
Problem:
I have the same results as above.
With one script attempting to connect to two ollies, some sample output might be:
# node Test.js
Ollie2 connected
noble warning: unknown peripheral xxxxxxxxxxxx
# node Test.js
Ollie1 connected
# node Test.js
Ollie2 connected
# node Test.js
Ollie1 connected
noble warning: unknown peripheral yyyyyyyyyyyy
# node Test.js
Ollie1 connected
Ollie2 connected
The first system doesn't show the warnings. When applying the aforementioned hack, both peripherals are unknown.
from sphero.js.
Related Issues (20)
- Luminance with color red doesn't work well
- After a few seconds my BB8 connection is failling On Mac OSX HOT 4
- Feature Request: Go to a position in a coordination system.
- Unable to connect to Ollie after using sphero.js HOT 2
- Sphero 2.0 Connection fails most of the time HOT 1
- BB-8 command sync response error HOT 5
- Can't connect to BB-8 (advertisement-discovery.js hangs) HOT 3
- Almost impossible connection with BB-8 HOT 6
- Issue an updated release (0.9.3)
- Sphero SPRK controlled via Mac fills up queue and lags with executing commands HOT 2
- Unable to connect to R2D2 HOT 2
- Unable to connect to the Sphero Mini HOT 17
- Support for BB-9E HOT 23
- Is this project dead? HOT 10
- Connection issues... Possible workaround/hack HOT 2
- Cannot turn off sensor streaming
- Unhandled rejection TypeError: Cannot read property 'write' of null HOT 2
- Details about Sphero Mini communications? HOT 5
- Not working with Sphero Bolt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphero.js.