Skip to content

Device keeps disconnecting unexpectedly #32

@mhnrahmani

Description

@mhnrahmani

Hello,

I am using a Raspberry Pi Compute Module 4 (which is BTW. basically the same as a RPi 4B) to run the basic example example_ble_1.py and connect to my SensorTile boxes. The example scans and lists my SensorTiles but when I select either of them to connect to, it immediately logs Device {my TileBox's name} disconnected unexpectedly on the screen.

Output log:

$ sudo python3 example_ble_1.py

##################
# BlueST Example #
##################

Scanning Bluetooth devices...

Discovery started.
New device discovered: Yellow .
New device discovered: White  .
Discovery stopped.

Available Bluetooth devices:
1) Yellow : [c0:50:1d:32:09:56]
2) White  : [c0:50:07:32:2c:33]

Select a device to connect to ('0' to quit): 2
Connecting to White  ...
Device White   disconnected unexpectedly.

Exiting...

More information about my setup:

  • OS version: Raspbian GNU/Linux 11 (bullseye)
  • Python version: 3.9.2
  • bluepy version: 1.3.0
  • futures version: 3.0.5
  • blue-st-sdk version: 1.4.0
  • SensorTile.box's firmware version: 3.4.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions