* [bluez/bluez] 580627: profile: add after_services for ordering profile s...
@ 2025-12-03 21:26 Pauli Virtanen
0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2025-12-03 21:26 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/master
Home: https://github.com/bluez/bluez
Commit: 5806271a69d62e01c4e045346f09ca8f2be134c2
https://github.com/bluez/bluez/commit/5806271a69d62e01c4e045346f09ca8f2be134c2
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M src/profile.c
M src/profile.h
Log Message:
-----------
profile: add after_services for ordering profile startup
Add btd_profile::after_servicess to specify the profile connect/accept
order for autoconnect. This is a "soft" dependency so it doesn't fail
if the other services fail to start nor try to start them if they
otherwise wouldn't.
Add btd_profile_sort_list() for sorting a list according to profile
ordering, taking account priority and after_services.
Add btd_profile_find_remote_uuid() lookup utility, needed when using
btd_profile_sort_list() with uuid lists.
Commit: 37f1d5de78d4aba486e704ff74e307a98b4f30b2
https://github.com/bluez/bluez/commit/37f1d5de78d4aba486e704ff74e307a98b4f30b2
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M .gitignore
M Makefile.am
A unit/btd.c
A unit/test-profile.c
Log Message:
-----------
test-profile: add tests for profile sorting
Add tests to check btd_profile_sort_list() works correctly.
The test uses queue instead of GSList in case device.c is converted to
use queue later.
Makefile.am: separate out bluetoothd_internal_sources (excludes plugins
& main.c) and add stub for symbols in main.c. The profile.c pulls in
large parts of these so it's simpler to depend on them all for the test.
This doesn't cause any recompilation.
Commit: cdcd845f87ee670715772754f7f7040483baa973
https://github.com/bluez/bluez/commit/cdcd845f87ee670715772754f7f7040483baa973
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M src/device.c
Log Message:
-----------
device: use after_services in service autoconnect and sort also GATT
Use btd_profile_sort_list() for selecting the order in which services
are connected: first by priority, then by after_services.
Probe and accept also GATT services in profile order. Previously this
was done in the order they were in GATT db.
Commit: 7f8ac0c1fbcdbd79d4c1c71f329878296b9fa135
https://github.com/bluez/bluez/commit/7f8ac0c1fbcdbd79d4c1c71f329878296b9fa135
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M src/service.c
Log Message:
-----------
service: implement btd_profile::after_services callback
Handle btd_profile::after_services callback when after_services
dependencies have finished connecting.
Commit: b78808cfb3b83f208dafd9fc626b64e5d28f4939
https://github.com/bluez/bluez/commit/b78808cfb3b83f208dafd9fc626b64e5d28f4939
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M profiles/audio/bap.c
Log Message:
-----------
bap: have unicast client wait for VCS & TMAS & GMAP
Have unicast client to wait for VCS, TMAS, and GMAP before creating
endpoints and transports, so that their information is available at that
point.
Commit: 02e03055052c9fe1443f6b5e8a0dff6e8d78f2d3
https://github.com/bluez/bluez/commit/02e03055052c9fe1443f6b5e8a0dff6e8d78f2d3
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M profiles/audio/vcp.c
M src/shared/vcp.c
M src/shared/vcp.h
Log Message:
-----------
shared/vcp: add ready callback to bt_vcp_attach()
Add callback that is called when VCP client has finished attaching, so
that caller can know when it can be used.
Commit: e55dd6e089e5c5ea445f3b93ccbdc4c70b4af84c
https://github.com/bluez/bluez/commit/e55dd6e089e5c5ea445f3b93ccbdc4c70b4af84c
Author: Pauli Virtanen <pav@iki.fi>
Date: 2025-12-03 (Wed, 03 Dec 2025)
Changed paths:
M profiles/audio/vcp.c
Log Message:
-----------
vcp: wait until client ready before marking profile connected
Mark vcp profile connected only when VCP client is ready, so that
dependent profiles do not try to use it when it is not yet initialized.
Compare: https://github.com/bluez/bluez/compare/143037cfe607...e55dd6e089e5
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-03 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-03 21:26 [bluez/bluez] 580627: profile: add after_services for ordering profile s Pauli Virtanen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox