Linux-Bluetooth Archive on lore.kernel.org
 help / color / 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, back to index

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

Linux-Bluetooth Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-bluetooth/0 linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ https://lore.kernel.org/linux-bluetooth \
		linux-bluetooth@vger.kernel.org linux-bluetooth@archiver.kernel.org
	public-inbox-index linux-bluetooth

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-bluetooth


AGPL code for this site: git clone https://public-inbox.org/ public-inbox