Re: Services connected in BlueZ 5

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

 



Hi Christopher,

On Sun, Jan 04, 2015 at 04:06 PM CET, Christopher Schramm wrote:
> So, is there any way to determine a specific service's connection state
> in BlueZ 5? If not, ConnectProfile / DisconnectProfile seem pretty
> useless, since one is left in the dark, so the only valid way would be
> using Connect and hope all services desired by the user get connected
> which is pretty unsatisfying. Can you confirm the awkward behavior of
> Device.Connect and Device.Connected e.g. in conjunction with a network
> service?

While I can't definitely confirm that it is not possible to check if
specific service is connected because I'm not a developer in this
project, I would say that this note from Device1.DisconnectProfile() API
docs suggests it:

> There is *no connection tracking* for a profile, so as long as the
> profile is registered this [DisconnectProfile()] will always succeed.

Also, in case you haven't already seen it, I think you might find
interesting a part of the discussion of this patchset from some time ago
(regarding the need to show in UI which services are connected):

http://thread.gmane.org/gmane.linux.bluez.kernel/36507

Hope this helps,
Jakub
--
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