linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bluez/bluez] 8f32fa: battery: Check interface before getting property
@ 2023-06-07 20:01 Arkadiusz Bokowy
  0 siblings, 0 replies; only message in thread
From: Arkadiusz Bokowy @ 2023-06-07 20:01 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 8f32fa24cc9d044263bef468ef940d4353456f31
      https://github.com/bluez/bluez/commit/8f32fa24cc9d044263bef468ef940d4353456f31
  Author: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M src/battery.c

  Log Message:
  -----------
  battery: Check interface before getting property

Client can export other interfaces than the BatteryProvide1 on the
registered object manager. So, before getting battery provider specific
property, validate that we are operating on the right interface.

This change will allow client to implement only one object manger for
media applications, players and battery providers without triggering
error message.


  Commit: 08d62744ce179137987154e526e27296cdb1d345
      https://github.com/bluez/bluez/commit/08d62744ce179137987154e526e27296cdb1d345
  Author: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M profiles/audio/media.c

  Log Message:
  -----------
  media: Register app objects in proxy_added_cb()

The proxy_added_cb() function is called every time a new client is added
to the application object manager. Registering media endpoint and player
in that proxy_added_cb() callback function will allow to register new
endpoints and players not only during the initial RegisterApplication
call, but also during the application lifetime. For instance, this might
allow to dynamically enable/disable support for additional codecs.


Compare: https://github.com/bluez/bluez/compare/52477e80fc89...08d62744ce17

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-07 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 20:01 [bluez/bluez] 8f32fa: battery: Check interface before getting property Arkadiusz Bokowy

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).