bleep icon indicating copy to clipboard operation
bleep copied to clipboard

Should this be hard-coded to "random"?

Open imdanielsp opened this issue 7 years ago • 0 comments

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).

imdanielsp avatar Jan 16 '18 22:01 imdanielsp