All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] bap: Fix endpoint unregister for BAP broadcast source
@ 2024-04-02 15:49 Silviu Florian Barbulescu
  2024-04-02 15:49 ` [PATCH BlueZ 1/1] " Silviu Florian Barbulescu
  2024-04-02 20:40 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Silviu Florian Barbulescu @ 2024-04-02 15:49 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: mihai-octavian.urzica, silviu.barbulescu, vlad.pruteanu,
	andrei.istodorescu, luiz.dentz, iulia.tanasescu

Fix endpoint unregister command for BAP broadcast source
before fix endpoint is not deleted:
endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x065f9b34fb 0x06
[/local/endpoint/ep0] Auto Accept (yes/no): y
[/local/endpoint/ep0] Max Transports (auto/value): a
[/local/endpoint/ep0] Locations: 3
[/local/endpoint/ep0] Supported Context (value): 0
Capabilities:
03 01 ff 00 02 02 03 02 03 03 05 04 1a 00 f0 00 ................
Metadata:
[bluetooth]# [NEW] Endpoint /org/bluez/hci0/pac_bcast0
[bluetooth]# Endpoint /local/endpoint/ep0 registered
[bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0
/local/endpoint/ep0 48_4endpoint.config /org/bluez/hci0/pac_bcast0
/local/endpoint/ep0 48_4_1
[/local/endpoint/ep0] BIG (auto/value): 0
[/local/endpoint/ep0] Enter channel location (value/no): 1
[/local/endpoint/ep0] Enter Metadata (value/no): n
.................
[bluetooth]# [NEW] Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# Endpoint: SetConfiguration
[bluetooth]# Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# Properties.Device: /org/bluez/hci0
[bluetooth]# Auto Accepting...
[bluetooth]# Endpoint /local/endpoint/ep0 configured
endpoint.unregister 00001852-0000-1000-8000-00805f9b34fb-00805f9b34fb
[bluetooth]# [DEL] Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# Endpoint /local/endpoint/ep0 unregistered


after fix endpoint is deleted:
[bluetooth]# [CHG] Controller 00:AA:01:00:00:00 Pairable: yes
[bluetooth]# AdvertisementMonitor path registered
endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x065f9b34fb 0x06
[/local/endpoint/ep0] Auto Accept (yes/no): y
[/local/endpoint/ep0] Max Transports (auto/value): a
[/local/endpoint/ep0] Locations: 3
[/local/endpoint/ep0] Supported Context (value): 0
Capabilities:
03 01 ff 00 02 02 03 02 03 03 05 04 1a 00 f0 00 ................
Metadata:
[bluetooth]# [NEW] Endpoint /org/bluez/hci0/pac_bcast0
[bluetooth]# Endpoint /local/endpoint/ep0 registered
[bluetooth]# endpoint.config /org/bluez/hci0/pac_bcast0
/local/endpoint/ep0 48_4endpoint.config /org/bluez/hci0/pac_bcast0
/local/endpoint/ep0 48_4_1
[/local/endpoint/ep0] BIG (auto/value): 0
[/local/endpoint/ep0] Enter channel location (value/no): 1
[/local/endpoint/ep0] Enter Metadata (value/no): n
............
[bluetooth]# [NEW] Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# Endpoint: SetConfiguration
[bluetooth]# Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# Properties.Device: /org/bluez/hci0
[bluetooth]# Auto Accepting...
[bluetooth]# Endpoint /local/endpoint/ep0 configured
endpoint.unregister 00001852-0000-1000-8000-00805f9b34fb-00805f9b34fb
[bluetooth]# [DEL] Transport /org/bluez/hci0/pac_bcast0/fd0
[bluetooth]# [DEL] Endpoint /org/bluez/hci0/pac_bcast0
[bluetooth]# Endpoint /local/endpoint/ep0 unregistered

Silviu Florian Barbulescu (1):
  bap: Fix endpoint unregister for BAP broadcast source

 profiles/audio/bap.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)


base-commit: 3403f65e266a0c40ace9cecc868fa96ad3335920
-- 
2.40.1


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

end of thread, other threads:[~2024-04-02 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 15:49 [PATCH BlueZ 0/1] bap: Fix endpoint unregister for BAP broadcast source Silviu Florian Barbulescu
2024-04-02 15:49 ` [PATCH BlueZ 1/1] " Silviu Florian Barbulescu
2024-04-02 17:42   ` bluez.test.bot
2024-04-02 20:40 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.