weliem / blessed-bluez

BLE library using Java and Bluez
MIT License
76 stars 23 forks source link

Services discovery times out #11

Closed elvishribeiro closed 2 years ago

elvishribeiro commented 2 years ago

Hello Martijn,

I have some Nordic devices and I'm having a bit problem using your library. When I try to connect to the device it times out and doesn't respond to the services (Image 1). Odly, using gatttool the services appear just after the connection has been succeeded (Image 2).

Do you have any idea what this could be? Something I'm missing?

Thanks in advance

P.S: Thank you for your lib, it's very well documentated.

image [Image 1]

image [Image 2]

weliem commented 2 years ago

Not sure what it could be. It says in the log that the timeout was reached for service discovery. So it seems it is taking too long. Also the connection takes 7s according to log. Also very slow.

Is it your own device? Does it make sense everything is going so slow?

weliem commented 2 years ago

By the way, service discovery times out after 10s