Re: Detect client connection using dbus api

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

 



Thanks for the answer. How does it differentiate if it is a client or
a server? If bluez work as a client and connect to a device, same
property will be set anyway.

On Thu, Jun 18, 2015 at 10:31 AM, Andrejs Hanins
<andrejs.hanins@xxxxxxxx> wrote:
> Hi,
>
> On 06/18/2015 11:24 AM, dogan yazar wrote:
>> I use gatt-api to register my services but then could not find a way
>> to detect that a client is connected and discovering my services.
>> Any ideas?
> In case of connected client, there will be a org.bluez.Device1 object created
> with Connected propery set to "true". So if you would like to track connect/disconnect
> events, you should listed for this property changes. At least, this is how I do it.
>> --
>> 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
>>
--
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