linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How BLE services could be remembered?
@ 2016-12-08 14:40 José Bollo
  2016-12-09  9:43 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 7+ messages in thread
From: José Bollo @ 2016-12-08 14:40 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I observe a strange behaviour of bluez dbus interface.

I'm using Cinolink BT 4.0 USB Adapter (CSR BC8510 chipset), Bluez 5.43
on debian and/or on fedora.

When I first pair a BLE device, the services are correctly discovered
and the GATT endpoints are created (a lot).

Then I can use it as expected and it is nice. But when I turn off the
computer and restart it, things become different.

Because the devices are paired with LT key, they are still paired but
the GATT services are not availables. I can connect to the device but
it doesn't declares the GATT properties/attributes that I need. Also,
the service advertises itself without effect.

To be able to restore the attributes, I need to first remove the
device using bluetoothctl (CancelPair doesn't seems to work) and to
pair a new time.

Can you reproduce it? Is it the intended behaviour? How can I setup
the system to have GATT properties+attributes present after an
advertising? What dbus method should I call (ConnectService doesn't
works)?

Best regards

Jos=C3=A9 Bollo - Senior Software Engineer
www.iot.bzh

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-15  8:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 14:40 How BLE services could be remembered? José Bollo
2016-12-09  9:43 ` Luiz Augusto von Dentz
2016-12-09 11:14   ` José Bollo
2016-12-09 13:15     ` Luiz Augusto von Dentz
2016-12-12 13:35       ` José Bollo
2016-12-12 14:20         ` Luiz Augusto von Dentz
2016-12-15  8:09           ` José Bollo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).