BLE device GATT service discovery without pairing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, I'm using bluez 5.3's dbus API (also running bluetoothd with
the --experimental option) and wanted to check is it possible to
connect to a BLE device and discover its GATT services without pairing
to the device?

I'm using the dbus APIs and see that the device Pair() function docs
call out that it will perform GATT service discovery.  This matches
what I see in practice--when I turn on an adapter's discovery with
StartDiscovery() I start to see nearby BLE devices added to the bluez
dbus root (with the org.bluez.Device1 interface).  I can connect to
those devices, but only when I call the device Pair() function do I
see all the GATT services, characteristics, descriptors, etc. added to
the bluez dbus root (using the org.bluez.GattService1,
org.bluez.GattCharacteristic1, etc. interfaces).

However using just the dbus interface is it possible to trigger the
discovery of all those GATT service, characteristic, etc. objects
without pairing with a device?  I.e. is there an explicit GATT service
discovery command for a connected device?

Let me know if the question isn't clear, and thanks for any help foks
can provide.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux