Adam-Langley / pybleno

A direct port of the Bleno bluetooth LE peripheral role library to Python2/3
MIT License
68 stars 34 forks source link

IOS LightBlue disconnects immdeiately while interrogating #26

Closed sherifshsffa91 closed 5 years ago

sherifshsffa91 commented 5 years ago

Hello Adam ,

while I am trying to test my peripheral using pybleno it connects ok from nrf Connect app but from lightblue it disconnects immediately while interrogating

Adam-Langley commented 5 years ago

Hi @sherifshsffa91 - have you met the Bleno prerequisites with regards to disabling bluetoothd? https://github.com/noble/bleno#prerequisites

Adam-Langley commented 5 years ago

If so, this could be tricky to track down. Can you reproduce the issue using any of the Pybleno examples?

sherifshsffa91 commented 5 years ago

Ok, no I don't follow bleno prerequisites, So let me try it and I will come back to you to inform you with update

sherifshsffa91 commented 5 years ago

may be the problem in detail was :

and then unable to connect again SO I did ,

so this solved my issue

Adam-Langley commented 5 years ago

Hi @sherifshsffa91 is your platform Pi/Raspbian? What Raspbian version are you using? Raspbian <= 2008-11-13?

sherifshsffa91 commented 5 years ago

hello adam

Is your platform Pi/Raspbian? yes RPI model 3b+ What Raspbian version are you using? Raspian 9 (stretch)

Adam-Langley commented 5 years ago

Can you tell me exact build? uname -a

sherifshsffa91 commented 5 years ago

here it is

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
Adam-Langley commented 5 years ago

Thanks - ok, you're not subject to the bluetooth bug. I would suggest, if you want to keep investigating, reproduce the issue and then dump the output dmesg here. Thanks.