sphero-inc / Sphero-Android-SDK

🚫 DEPRECATED REPO: Sphero™ is the amazing robotic ball ( gosphero.com ), this is the repository for the Android SDK for Sphero™. Visit dev site for more information:
https://developer.gosphero.com
160 stars 86 forks source link

BB8 Sphero not connected #31

Open stailer opened 7 years ago

stailer commented 7 years ago

BB8 Sphero september 2016 version with Force Band Test on Android 6 and 7

Official Android App is OK Not official android app (like BB8 Lamp) not OK My application with AndroidStudio and HelloWorld not OK

AndroidManifest with permission is set with BLUETOOTH, ADMIN, COARSE etc... Java is OK, compile. I deploy my app with sign release on play store

Test with beta RobotLibray is same : not OK

An idea ?

NOTE : i tried use Bluetooh and response is "need BLUETOOH PRIVILEGED". It's new with BB8 Sphero v2 ? I can't to be administrator. How it fix this ?

Thank you

Dawars commented 7 years ago

It's been 1 month with no response! I need to know this works before ordering them for my school.

stailer commented 7 years ago

For me, no... Maybe with old BB8 version but new version (Edition Special with Force Band) , no connection and no detection bluetooh. Only official app from Sphero is OK. Another applications from anothers developers fails too with this version... I don't undestand. I see BB8 on my phone but apparing is failure. And i don't understand how Sphero Official App is OK...

scottpantall commented 7 years ago

@stailer I found this older thread that may give you some resources: https://github.com/orbotix/sphero.js/issues/26

I believe the BB-8 functionality may be limited since it's a special Star Wars toy and not just a regular Sphero.

KriyenKP commented 6 years ago

I get mine to connect...but it's iffy. It connects immediately sometimes (once in like 20 tries tbh) but most of the time it finds the droid but doesn't connect. It just sits there at "found" and never goes to connecting.

robertocarvajal commented 6 years ago

BB8 is indeed hidden from the SDK by excluding the prefix name of them, there is a workaround with a simple modification that is explained here

https://github.com/orbotix/Sphero-Android-SDK/issues/21

robotRadioDescriptor.setNamePrefixes(new String[]{"BB-"});

that's the critical line to add BB- to the list of accepted prefixes..