Re: How to access services on my bluetooth device

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

 



Hi John,

On Tue, Nov 17, 2015 at 10:56 AM, John WW <wrxzzj@xxxxxxxxx> wrote:
> Hi
>
>     recently, I bought a microsoft bluetooth 4.0 mouse, connect and
> work very well on bluez-5.36.
>
>    I found this device have five profile
>         UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
>         UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
>         UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
>         UUID: Battery Service           (0000180f-0000-1000-8000-00805f9b34fb)
>         UUID: Human Interface Device    (00001812-0000-1000-8000-00805f9b34fb)
>
>   How can I access Battery Service, I want to known the battery status.
> Is't possible to get the battery status by bluez utils ?

iirc the plan is to create a battery using upower module, but in the
meantime you can use the D-Bus GATT APIs and write an application to
subscribe to the notifications.


-- 
Luiz Augusto von Dentz
--
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