linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Battery readouts on dbus for GATT battery service
@ 2019-10-03 12:07 Pavel Nikulin
  2019-10-03 12:13 ` Bruno Randolf
  2019-10-04  8:49 ` Pavel Nikulin
  0 siblings, 2 replies; 4+ messages in thread
From: Pavel Nikulin @ 2019-10-03 12:07 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I have a bt 4.2 mouse that has a battery service, but no battery
attribute visible in Bluez, Rapoo m550 using YiChip 1201.

Is it even hypothetically possible that a device can have a battery
service, but no battery attribute?

This is what I see in my syslog

Oct  3 15:07:38 xps bluetoothd[1837]: No cache for ED:8E:0E:DF:E0:B8
Oct  3 15:07:38 xps bluetoothd[1837]: BATT attribute not found
Oct  3 15:07:38 xps bluetoothd[1837]: batt-profile profile accept
failed for ED:8E:0E:DF:E0:B8
Oct  3 15:07:38 xps bluetoothd[1837]: GAP attribute not found
Oct  3 15:07:38 xps bluetoothd[1837]: gap-profile profile accept
failed for ED:8E:0E:DF:E0:B8
Oct  3 15:07:38 xps bluetoothd[1837]: input-hog profile accept failed
for ED:8E:0E:DF:E0:B8
Oct  3 15:07:39 xps bluetoothd[1837]: bt_uhid_send: Invalid argument (22)
Oct  3 15:07:39 xps bluetoothd[1837]: bt_uhid_send: Invalid argument (22)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Battery readouts on dbus for GATT battery service
  2019-10-03 12:07 Battery readouts on dbus for GATT battery service Pavel Nikulin
@ 2019-10-03 12:13 ` Bruno Randolf
  2019-10-04  8:49 ` Pavel Nikulin
  1 sibling, 0 replies; 4+ messages in thread
From: Bruno Randolf @ 2019-10-03 12:13 UTC (permalink / raw)
  To: Pavel Nikulin, linux-bluetooth

On 03/10/2019 13:07, Pavel Nikulin wrote:
> Hello,
> 
> I have a bt 4.2 mouse that has a battery service, but no battery
> attribute visible in Bluez, Rapoo m550 using YiChip 1201.
> 
> Is it even hypothetically possible that a device can have a battery
> service, but no battery attribute?

bluez filters it out. This is exactly what I am seeing.

Reference to my post just two days ago:
https://www.spinics.net/lists/linux-bluetooth/msg81438.html

Greetings,
bruno

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Battery readouts on dbus for GATT battery service
  2019-10-03 12:07 Battery readouts on dbus for GATT battery service Pavel Nikulin
  2019-10-03 12:13 ` Bruno Randolf
@ 2019-10-04  8:49 ` Pavel Nikulin
  2019-10-04 10:53   ` Pavel Nikulin
  1 sibling, 1 reply; 4+ messages in thread
From: Pavel Nikulin @ 2019-10-04  8:49 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

Here is the BTMON capture

http://s000.tinyupload.com/index.php?file_id=97528277907598647906

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Battery readouts on dbus for GATT battery service
  2019-10-04  8:49 ` Pavel Nikulin
@ 2019-10-04 10:53   ` Pavel Nikulin
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Nikulin @ 2019-10-04 10:53 UTC (permalink / raw)
  To: linux-bluetooth

Decoded text https://pastebin.com/NNdvbBNA

On Fri, Oct 4, 2019 at 2:49 PM Pavel Nikulin <pavel@noa-labs.com> wrote:
>
> Hello,
>
> Here is the BTMON capture
>
> http://s000.tinyupload.com/index.php?file_id=97528277907598647906

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-04 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 12:07 Battery readouts on dbus for GATT battery service Pavel Nikulin
2019-10-03 12:13 ` Bruno Randolf
2019-10-04  8:49 ` Pavel Nikulin
2019-10-04 10:53   ` Pavel Nikulin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).