bleep icon indicating copy to clipboard operation
bleep copied to clipboard

issue running tree example

Open gesaleh opened this issue 7 years ago • 1 comments

I'm having issue running command command

python tree.py 88:0F:10:92:A0:39
Attempting to connect to 88:0F:10:92:A0:39
Traceback (most recent call last):
  File "tree.py", line 36, in <module>
    device.connect()
  File "/usr/local/lib/python2.7/dist-packages/bleep/device.py", line 154, in connect
    self.requester.connect(True, "random")
RuntimeError: Channel or attrib not ready

while using pygattlib/example I don't have isseu running the examples

/pygattlib/examples# python discover_primary.py  88:0F:10:92:A0:39
Connecting...
{'start': 1, 'end': 11, 'uuid': '00001800-0000-1000-8000-00805f9b34fb'}
{'start': 12, 'end': 15, 'uuid': '00001801-0000-1000-8000-00805f9b34fb'}
{'start': 16, 'end': 24, 'uuid': '0000180a-0000-1000-8000-00805f9b34fb'}
{'start': 25, 'end': 35, 'uuid': '0000181d-0000-1000-8000-00805f9b34fb'}
{'start': 36, 'end': 50, 'uuid': '00001530-0000-3512-2118-0009af100700'}
Done.

gesaleh avatar Jul 25 '17 20:07 gesaleh

Allah başka dert, tasa vermesin. Olur öyle.

On 25 Jul 2017, at 23:33 , gesaleh [email protected] wrote:

I'm having issue running command command

python tree.py 88:0F:10:92:A0:39 Attempting to connect to 88:0F:10:92:A0:39 Traceback (most recent call last): File "tree.py", line 36, in device.connect() File "/usr/local/lib/python2.7/dist-packages/bleep/device.py", line 154, in connect self.requester.connect(True, "random") RuntimeError: Channel or attrib not ready

while using pygattlib/example I don't have isseu running the examples

/pygattlib/examples# python discover_primary.py 88:0F:10:92:A0:39 Connecting... {'start': 1, 'end': 11, 'uuid': '00001800-0000-1000-8000-00805f9b34fb'} {'start': 12, 'end': 15, 'uuid': '00001801-0000-1000-8000-00805f9b34fb'} {'start': 16, 'end': 24, 'uuid': '0000180a-0000-1000-8000-00805f9b34fb'} {'start': 25, 'end': 35, 'uuid': '0000181d-0000-1000-8000-00805f9b34fb'} {'start': 36, 'end': 50, 'uuid': '00001530-0000-3512-2118-0009af100700'} Done. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/matthewelse/bleep/issues/12, or mute the thread https://github.com/notifications/unsubscribe-auth/AYhNLwJqLEdUxgcNdNMc66f1gu2rACg9ks5sRlEVgaJpZM4OjF1P.

ucoluk avatar Jul 26 '17 07:07 ucoluk