Closed benheymink closed 11 years ago
We have noticed some differences in the way the different pre-release versions of Windows handle bluetooth connections. So in order to help you sort this out can you answer the following questions? Any extra info will help. Thx.
What hardware?
What pre-release build number of Windows 8.1?
Have you paired with more than one Sphero?
There are a few reasons the robot won't connect. The most common one being you did not put the proper permission in the manifest. This seems to be missing from the ReadMe.
<wb:DeviceCapability Name="bluetooth.rfcomm">
<wb:Device Id="any">
<wb:Function Type="serviceId:00001101-0000-1000-8000-00805F9B34FB" />
</wb:Device>
</wb:DeviceCapability>
Thanks, it was missing the Bluetooth capability from the manifest. Also needed was the namespace declaration: xmlns:wb="http://schemas.microsoft.com/appx/2013/manifest"
Thanks Michael and VVes! Looking forward to tinkering! ;-)
I'm attempting to write a sample using the instructions provided. For some reason, however, the ConnectedRobot event never fires. The DiscoveredRobotEvent fires successfully, and can Identify my Sphero, but after that, nothing.
I've copied and pasted the setup code from the provided sample, so everything should be working! Is a step missing from the instructions?