Skip to content

Should this be hard-coded to "random"? #13

Description

@imdanielsp

I was trying to use your library, but I am running to a problem where I am getting the following:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.4/dist-packages/bleep/device.py", line 154, in connect self.requester.connect(True, "random") RuntimeError: Channel or attrib not ready
which bring me to this:
https://github.com/matthewelse/bleep/blob/master/bleep/device.py#L156

I might be wrong, but from the gattlib code, I believe this is the channel_type parameter and I believe my device is not happy with this hard-coded value.

Should this be really random?

I changed it to "public" and it connects fine (FYI).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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