Re: Query regarding BLE GetPrimaryServices()

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

 



Hi,

On Fri, Oct 21, 2011 at 9:06 AM, Vijaykumar Dadmode
<Vijaykumar.Dadmode@xxxxxxx> wrote:
> Hi Anderson,
>
>> This is already done automatically, when you do either CreateDevice()
>> or CreatePairedDevice(). See the device_browse_primary() calls in
>> src/device.c and src/adapter.c
>
> How do we get the primary services when we have already called a "CreateDevice() or CreatePairedDevice()", "CONNECTED" state over dbus?

You cannot do this by hand. It is done right after connection (or
pairing, if using CreatePairedDevice). For more information on how to
read the services and characteristics over D-Bus, see
doc/attribute-api.txt.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
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