Skip to content

While connecting gets stuck in connecting state #454

@FahidDis

Description

@FahidDis

My normal pairing with device works fine but whenever the following scenario happens:

  • User gets out of device's range
  • Turns bluetooth off
  • After coming back to range turns bluetooth on

Then upon calling BleDevice.connect() it gets stuck in BleDeviceState.CONNECTING state and eventually comes to BleDeviceState.DISCONNECTED state, never gets connected.
Why is this happening? How can i avoid this?

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