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

Simple test #4

Open
DanielSSilva opened this issue Jan 13, 2018 · 2 comments
Open

Simple test #4

DanielSSilva opened this issue Jan 13, 2018 · 2 comments
Labels

Comments

@DanielSSilva
Copy link

Hey man, really nice project here!
I've been trying to pair my BB9-e with Raspberry without any luck, and so far your project was the one that got me further... I would like to know if you do know if it's possible to control it with the xbox controller connected to the raspberry. because the program launches but it just hangs on the scan.js part..

@dimorphic
Copy link
Owner

dimorphic commented Jan 28, 2018

Hey @DanielSSilva !

Thanks and sorry for the late reply, first of all :)
Secondly, the project should run on any env capable of running Node.js (tested on unix/OSX so far), so yea, a Raspberry should be fine.

I've also got a BB9e about 1 month ago or so, did a quick test back then and i was not able to connect to it as to a BB8 device; was getting the correct UUID in scan.js, but failing on connect.

It seems that BB8 and BB9e are not using the same BLE packets (hopefully only the connect part - Disney really guys, again ?) and the BB9e device was not yet supported by the internal dependency package sphero.js at that time. I haven't had the time to properly look into this lately :(

Need to check & upgrade sphero.js if it's the case, or end up once again reverse engineering the BLE packets sent by/to BB9e, as i did when i first started this project (BB8 was not supported initially either, but was added later).

Regarding the scan.js, be sure to get the latest update on this, as i've refactored a bit that part; nevertheless you see your BB9e device UUID (or any other BLE device nearby). Another note: in my initial BB8 reverse engineering, i had to either open the official mobile app and try to connect or actually shake the device in order to 'wake it up', and make it show either on scanning or when trying to connect. That might help sometimes in 'debugging' as BB8/BB9e might be in battery saving mode / sleeping while standing / in dock.

I'll open a separate ticket for the BB9e connect issue ( #5 ) and maybe someone or I will have some time for it. Hope i've answered your questions. :)

Cheers 🍺

@igbopie
Copy link

igbopie commented Apr 3, 2018

Hey @DanielSSilva @dimorphic , I can make it work with my lib. I just need the bluetooth prefix :) I have created an issue on my project igbopie/spherov2.js#12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants