public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] obexd/transfer: Send Transferred property on transfer completion
@ 2025-05-27  7:17 Frédéric Danis
  2025-05-27  8:36 ` [BlueZ] " bluez.test.bot
  2025-05-27 14:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Frédéric Danis @ 2025-05-27  7:17 UTC (permalink / raw)
  To: linux-bluetooth

Currently the Transferred property is sent each second and not on
transfer completion, this leads to get no transferred size info or
without the last packet size(s).
---
 obexd/client/transfer.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c
index 879d67d58..668cefa40 100644
--- a/obexd/client/transfer.c
+++ b/obexd/client/transfer.c
@@ -660,6 +660,9 @@ static void xfer_complete(GObex *obex, GError *err, gpointer user_data)
 	struct transfer_callback *callback = transfer->callback;
 
 	transfer->xfer = 0;
+	transfer->progress = transfer->transferred;
+	g_dbus_emit_property_changed(transfer->conn, transfer->path,
+			TRANSFER_INTERFACE, "Transferred");
 
 	if (transfer->progress_id != 0) {
 		g_source_remove(transfer->progress_id);
-- 
2.43.0


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

* RE: [BlueZ] obexd/transfer: Send Transferred property on transfer completion
  2025-05-27  7:17 [PATCH BlueZ] obexd/transfer: Send Transferred property on transfer completion Frédéric Danis
@ 2025-05-27  8:36 ` bluez.test.bot
  2025-05-27 14:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-05-27  8:36 UTC (permalink / raw)
  To: linux-bluetooth, frederic.danis

[-- Attachment #1: Type: text/plain, Size: 1261 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=966569

---Test result---

Test Summary:
CheckPatch                    PENDING   0.31 seconds
GitLint                       PENDING   0.26 seconds
BuildEll                      PASS      20.25 seconds
BluezMake                     PASS      2685.58 seconds
MakeCheck                     PASS      20.11 seconds
MakeDistcheck                 PASS      200.18 seconds
CheckValgrind                 PASS      277.46 seconds
CheckSmatch                   PASS      302.62 seconds
bluezmakeextell               PASS      129.06 seconds
IncrementalBuild              PENDING   0.27 seconds
ScanBuild                     PASS      923.81 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ] obexd/transfer: Send Transferred property on transfer completion
  2025-05-27  7:17 [PATCH BlueZ] obexd/transfer: Send Transferred property on transfer completion Frédéric Danis
  2025-05-27  8:36 ` [BlueZ] " bluez.test.bot
@ 2025-05-27 14:00 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-05-27 14:00 UTC (permalink / raw)
  To: =?utf-8?b?RnLDqWTDqXJpYyBEYW5pcyA8ZnJlZGVyaWMuZGFuaXNAY29sbGFib3JhLmNvbT4=?=
  Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue, 27 May 2025 09:17:59 +0200 you wrote:
> Currently the Transferred property is sent each second and not on
> transfer completion, this leads to get no transferred size info or
> without the last packet size(s).
> ---
>  obexd/client/transfer.c | 3 +++
>  1 file changed, 3 insertions(+)

Here is the summary with links:
  - [BlueZ] obexd/transfer: Send Transferred property on transfer completion
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=f8c6693139de

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-05-27 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27  7:17 [PATCH BlueZ] obexd/transfer: Send Transferred property on transfer completion Frédéric Danis
2025-05-27  8:36 ` [BlueZ] " bluez.test.bot
2025-05-27 14:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox