[bluez/bluez] 1de417: audio/transport: Propagate errors from avrcp_set_v...

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


  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 1de41786c1a22fe0d4f55805f3006ce66e5c65a6
  Author: Marijn Suijten <marijn.suijten@xxxxxxxxxxxxxx>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M profiles/audio/transport.c

  Log Message:
  audio/transport: Propagate errors from avrcp_set_volume to DBus

Any error while setting absolute volume on the peer, or notifying the
peer of changes was previously going completely unnoticed.  Propagate it
to the logs and back to the DBus "Volume" property setter so that they
aren't misled into thinking that the AVRCP command succeeded.

Note that an error is mostly harmless when the setter of the property is
an audio sink and the peer the audio source: in this case we're only
_notifying_ the peer of the change when it has already been applied on
the sink.

Also improve the other two error messages to more closely describe what
was "invalid" about the argument.

  Commit: 338ba4352b6cadafe61808c21302c0abe2168e02
  Author: Aaron_shen <aarongt.shen@xxxxxxxxx>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M obexd/src/manager.c

  Log Message:
  obexd: reject to accept file when replying reject message

It will accept file when obex agent replied any message
event though the message is org.bluez.obex.Error.Rejected.
The patch helps to reject a Bluetooth object push request if
user replied "org.bluez.obex.Error.Rejected" message according
to the doc/obex-agent-api.txt.

Compare: https://github.com/bluez/bluez/compare/4a3f465a55c9...338ba4352b6c

[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