Skip to content

Cannot connect through Raspberry Pi #9

@harmitbadyal

Description

@harmitbadyal

Hello,
Thank you so much for the code. I unfortunately get an error every time I try to run BB8test on my Raspberry Pi. It does not seem to connect to the specified string. Here is the output:
File "BB8test.py", line 8, in <module> bb8.connect() File "/home/pi/Projects/SpheroBB8-python/BB8_driver.py", line 259, in connect self.bt = BTInterface(self.deviceAddress) File "/home/pi/Projects/SpheroBB8-python/BB8_driver.py", line 138, in __init__ self.peripheral = btle.Peripheral(deviceAddress, btle.ADDR_TYPE_RANDOM) File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 391, in __init__ self._connect(deviceAddr, addrType, iface) File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 439, in _connect raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp) bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral D7:74:05:73:09:55, addr type: random

Any help would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions