Commits

Commit Message Author Age Changes
3bafab44 transport: Set bap_update_links as transport op This implements bap_update_links as transport op, since broadcast links need to be handled differently for unicast, which only allows one link. For broadcast, the property changed signal should be emitted everytime a new link is added or removed. Iulia Tanasescu 1 year ago 1 file, +37, -8
5b1dfd27 doc/media: Document Links property for broadcast This adds the "Links" property for broadcast. Iulia Tanasescu 1 year ago 1 file, +16, -1
e0e3c922 transport: Add Links property for broadcast transports This adds the "Links" property for broadcast transports, which allows upper layer applications to write and link transports together. Iulia Tanasescu 1 year ago 1 file, +61, -1
47da1efd transport: Unset transport owner before owner free This sets the transport owner back to NULL, before the owner object is freed. Iulia Tanasescu 1 year ago 1 file, +5, -0
b92b857f shared/bap: Handle multiple bcast sink streams This adds shared/bap support for enabling and starting multiple Broadcast Sink streams. Stream enabling should fail if any other Broadcast Sink streams are in the process of enabling or have been enabled for the same source. Also, a stream that has been enabled and already has the fd set should be started on the spot. Iulia Tanasescu 1 year ago 1 file, +35, -0
0b5cfc1b bap: Add support for syncing to multiple BISes This adds support for a Broadcast Sink to synchronize to multiple BISes from a Source. BISes selected by the user need to be linked together and then enabled one by one. The first enabled stream will enqueue all its links in a request for PA and BIG sync. After BIG sync is established, the confirm callback will be called for each BIS io created in the kernel. Each fd will be set inside the corresponding link, even the links that have not yet been enabled. The enabled links will be started as soon as the fds are ready. Iulia Tanasescu 1 year ago 1 file, +109, -62
eaff473c shared/bap: Use enabling state for bcast sink streams This updates the stream state transition from CONFIG to ENABLING, on enable for Broadcast Sink streams. This is done to differentiate between streams discovered in the BASE after short-lived PA sync and streams that have been selected and enabled by the user. Iulia Tanasescu 1 year ago 3 files, +14, -8
71d19c6c shared/bap: Fix broadcast set state When a stream changes state, the update is notified to other drivers that registered a state changed callback. These callbacks might further change the stream state, leading to the stream being freed. To avoid use after free errors post notifications, this commit adds support to ref/unref streams, to make sure that the stream is kept alive until all processing is completed. This also updates the switch condition post notifications, to handle the stream based on its current state. Iulia Tanasescu 1 year ago 1 file, +39, -6
85bee521 shared/bap: Add support for handling broadcast links This commit implements io handling functions as stream ops, since broadcast links need to be handled differently than unicast: Unicast links share the same IO, while broadcast links stand for separate BISes with independent IOs. Unicast links have different directions, while broadcast links share the same one. This also adds a function for unlinking broadcast streams. Iulia Tanasescu 1 year ago 2 files, +291, -47
7ff51d68 shared/bap: Allow multiple links per stream This commit adds support to link multiple streams together, creating the foundation for implementing broadcast links: for Broadcast Sinks, the user could select multiple streams to receive audio from. All selected streams need to be linked together and considered when creating BIG sync. Iulia Tanasescu 1 year ago 3 files, +97, -47
806a552d shared/shell: Fix not displaying first prompt Sometimes the prompt is not display when it is just set once (e.g. bluetoothctl when bluetoothd is not running). Luiz Augusto von Dentz 1 year ago 1 file, +1, -1
d35bae15 obex: Resolve SRM issue for PTS testcases Add check for unknown/undefined srm value. This fix is required to pass the below the PTS testcases : 1. OPP/SR/GOEP/SRM/BI-02-C 2. FTP/SR/GOEP/SRM/BI-02-C 3. PBAP/PSE/GOEP/SRM/BI-05-C Description - Verify that the Server ignores a SRM header with an invalid value in the PUT/GET request and carries on with the PUT/GET operation with SRM disabled. Current Behaviour - Server is sending SRM enable in the response even though receiving the unknown SRM value. To fix this, I have added the check to verify the valid SRM values before continuing with SRM enable. Amisha Jain 1 year ago 1 file, +9, -0
f93a73b2 shared/bap: Fix crash on bt_bap_stream_disable Calls to bt_bap_stream_disable with unicast stream shall result in stream_disable if when acting as a server (!stream->client) otherwise it may lead to the following trace: bluetoothd[104990]: src/shared/bap.c:bap_queue_req() req 0x555555732470 (op 0x05) queue 0x55555571e850 bluetoothd[104990]: src/gatt-database.c:send_notification_to_device() GATT server sending notification bluetoothd[104990]: src/shared/bap.c:stream_notify_state() stream 0x55555571b7f0 bluetoothd[104990]: src/shared/bap.c:stream_notify_qos() stream 0x55555571b7f0 bluetoothd[104990]: src/gatt-database.c:send_notification_to_device() GATT server sending notification bluetoothd[104990]: src/shared/bap.c:bap_process_queue() bluetoothd[104990]: src/shared/bap.c:bap_send() req 0x555555732470 len 3 Program received signal SIGSEGV, Segmentation fault. bap_send (bap=bap@entry=0x555555730c50, req=req@entry=0x555555732470) at src/shared/bap.c:1490 Fixes: https://github.com/bluez/bluez/issues/991 Luiz Augusto von Dentz 1 year ago 1 file, +24, -21
ba98be03 build: Fix make distcheck This fixes the following error: make[2]: *** No rule to make target 'doct/hci.7', needed by 'distdir-am'. Luiz Augusto von Dentz 1 year ago 4 files, +12, -1
8baabd2f audio/avrcp: Only allow absolute volume call/event on category-2 peers Restrict the use of SetAbsoluteVolume and EVENT_VOLUME_CHANGED to peers with at least AVRCP version 1.4 and AVRCP_FEATURE_CATEGORY_2 on their respective target or controller profiles. For backwards-compatibility, add a (default-enabled) `VolumeCategory = true` configuration option under `[AVRCP]` to allow optionally disabling this new check. Marijn Suijten 1 year ago 1 file, +34, -6
92337940 audio/avrcp: Guard SetAbsoluteVolume without target behind config value Commit 179ccb936 ("avrcp: Set volume if volume changed event is registered") invented a workaround that allows SetAbsoluteVolume to be sent to a remote device that does _not_ implement the AVRCP TG profile, as long as it previously registered for the EVENT_VOLUME_CHANGED notification. This is strange as the TG role is required to be able to send commands to the peer, but the commit must have been applied to the tree for a reason. We discussed in [1] that workarounds for dubious peers and software stacks should be guarded behind a config entry in main.conf, so this starts out by introducing a new [AVRCP] category that will later be extended with other workarounds. It guards the changed functionality behind a `VolumeWithoutTarget = false` boolean to disallow this obscure check. [1]: https://lore.kernel.org/linux-bluetooth/20211025210206.bkt5wovzmkmt6teg@SoMainline.org/ Marijn Suijten 1 year ago 4 files, +39, -2
8572f243 doc: Add initial HCI(7) documentation This adds initial documentation for HCI sockets. Luiz Augusto von Dentz 1 year ago 2 files, +155, -3
b5b51017 obex: Move size emit signal to plugins instead of obex.c Instead of emitting the property "Size" from obex_put_stream_start(), Call the function manager_emit_transfer_property() from plugins/*.c wherever plugin has transfer object present. Remove the code from obex.c which is generic for all profiles. This change resolves the type mismatch issue when calling the manager_emit_transfer_property from obex.c. We are passing 'os->service_data' of plugin session type but the manager_emit_transfer_property() expects the 'obex_transfer' type, therefore size is not set properly and might cause crash/disconnection. Amisha Jain 1 year ago 3 files, +10, -3
b30b1edd tools/obexctl: Add support to connect using PSM port Since commit 5d7d3ac25bd5 ("obexd: Add PSM support to session create") obexd supports to connect the session using a L2CAP PSM. Frédéric Danis 1 year ago 1 file, +11, -6
ee6f3a83 shared/shell: Fix not handling prompt with color properly Colors use escape sequence that needs to be enveloped with RL_PROMPT_START_IGNORE (\001) and RL_PROMPT_END_IGNORE (\002) in order for readline to properly calculate the prompt length. Fixes: https://github.com/bluez/bluez/issues/965 Luiz Augusto von Dentz 1 year ago 11 files, +46, -47
c1d01a37 avdtp: Fix triggering disconnect_timeout while discovering capabilities If there are many endpoint registered it may delay the discovering of the capabilities long enough to trigger diconnect_timeout which may cause unexpected collisions/disconnections. Fixes: https://github.com/bluez/bluez/issues/981 Luiz Augusto von Dentz 1 year ago 1 file, +8, -0
3d9900eb transport: Delay existence based on delay reporting capability In case when the existence of the delay property is based on its value not being zero it is not possible to read the delay if sink sets it to zero on purpose (or it was not updated by the sink at all). However, client might expect it to be readable, if SEP reports delay reporting as available. Instead of checking the value, we should check the capabilities of the AVDTP stream. Also, by doing that we can allow this property to be writable in the future - the exists() callback is used in the properties_set() function as well. Arkadiusz Bokowy 1 year ago 3 files, +25, -7
5d7e6a64 client: Update scripts to include encrypted stream scenario This updates the broadcast-assistant/scan-delegator scripts to include the encrypted stream scenario. Iulia Tanasescu 1 year ago 2 files, +20, -2
c7119b4f transport: Add support to request bcode from Assistant A Broadcast Sink might scan an encrypted stream, but the user might not know the Broadacst Code to decrypt it. However, if the Broadcast Sink is acting as a Scan Delegator, it can request the Code from Broadcast Assistants. This adds support to ask for the Broadcast Code through BASS, if an empty Code was entered by the user at transport select. The bluetoothctl log below shows a Scan Delegator creating a media transport for an encrypted BIS added by a Broadcast Assistant through the Add Source operation. The user is asked to enter the Broadcast Code at transport.select, and the "no" option is chosen, since the Code is unknown. However, the Code is received from the Broadcast Assistant and the transport is successfully acquired. client/bluetoothctl [bluetooth]# endpoint.register 00001851-0000-1000-8000-00805f9b34fb 0x06 [/local/endpoint/ep0] Auto Accept (yes/no): y [/local/endpoint/ep0] Max Transports (auto/value): a [/local/endpoint/ep0] Locations: 1 [/local/endpoint/ep0] Supported Context (value): 1 [bluetooth]# Endpoint /local/endpoint/ep0 registered [bluetooth]# advertise on [bluetooth]# [NEW] Device 00:60:37:31:7E:3F 00-60-37-31-7E-3F [00-60-37-31-7E-3F]# [NEW] Device 23:E1:A6:85:D9:11 23-E1-A6-85-D9-11 [00-60-37-31-7E-3F]# [NEW] Transport /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 [00-60-37-31-7E-3F]# transport.select /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 [] Enter brocast code[value/no]: no [00-60-37-31-7E-3F]# Setting broadcast code succeeded [00-60-37-31-7E-3F]# [CHG] Transport /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 State: broadcasting [00-60-37-31-7E-3F]# transport.acquire /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 [00-60-37-31-7E-3F]# Transport /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 acquiring complete [00-60-37-31-7E-3F]# [CHG] Transport /org/bluez/hci2/dev_23_E1_A6_85_D9_11/bis1/fd0 State: active The btmon log shows the BASS GATT write commands and notifications exchanged between the Scan Delegator and the Broadcast Assistant: > ACL Data RX: Handle 0 flags 0x01 dlen 1 ATT: Write Command (0x52) len 23 Handle: 0x0040 Type: Broadcast Audio Scan Control Point (0x2bc7) Data[21]: 020111d985a6e12300f9bb8502ffff010100000000 Opcode: Add Source (0x02) Source_Address_Type: 1 Source_Address: 23:E1:A6:85:D9:11 Source_Adv_SID: 0 Broadcast_ID: 0x85bbf9 PA_Sync_State: Synchronize to PA - PAST not available PA_Interval: 0xffff Num_Subgroups: 1 Subgroup #0: BIS_Sync State: 0x00000001 < HCI Command: LE Periodic Advertising Create Sync (0x08|0x0044) plen 14 Options: 0x0000 Use advertising SID, Advertiser Address Type and address Reporting initially enabled SID: 0x00 Adv address type: Random (0x01) Adv address: 23:E1:A6:85:D9:11 (Non-Resolvable) Skip: 0x0000 Sync timeout: 20000 msec (0x07d0) Sync CTE type: 0x0000 > HCI Event: LE Meta Event (0x3e) plen 16 LE Periodic Advertising Sync Established (0x0e) Status: Success (0x00) Sync handle: 0 Advertising SID: 0x00 Advertiser address type: Random (0x01) Advertiser address: 23:E1:A6:85:D9:11 (Non-Resolvable) Advertiser PHY: LE 2M (0x02) Periodic advertising interval: 10.00 msec (0x0008) Advertiser clock accuracy: 0x07 > HCI Event: LE Meta Event (0x3e) plen 42 LE Periodic Advertising Report (0x0f) Sync handle: 0 TX power: 127 dbm (0x7f) RSSI: -57 dBm (0xc7) CTE Type: No Constant Tone Extension (0xff) Data status: Complete Data length: 0x22 Service Data: Basic Audio Announcement (0x1851) Presetation Delay: 40000 Number of Subgroups: 1 Subgroup #0: Number of BIS(s): 1 Codec: LC3 (0x06) Codec Specific Configuration: #0: len 0x02 type 0x01 Codec Specific Configuration: Sampling Frequency: 16 Khz (0x03) Codec Specific Configuration: #1: len 0x02 type 0x02 Codec Specific Configuration: Frame Duration: 10 ms (0x01) Codec Specific Configuration: #2: len 0x03 type 0x04 Codec Specific Configuration: Frame Length: 40 (0x0028) Codec Specific Configuration: #3: len 0x05 type 0x03 Codec Specific Configuration: Location: 0x00000001 Codec Specific Configuration: Location: Front Left (0x00000001) BIS #0: Index: 1 > HCI Event: LE Meta Event (0x3e) plen 20 LE Broadcast Isochronous Group Info Advertising Report (0x22) Sync Handle: 0x0000 Number BIS: 1 NSE: 3 ISO Interval: 10.00 msec (0x0008) BN: 1 PTO: 1 IRC: 3 Maximum PDU: 40 SDU Interval: 10000 us (0x002710) Maximum SDU: 40 PHY: LE 2M (0x02) Framing: Unframed (0x00) Encryption: 0x01 bluetoothd[5431]: < ACL Data TX: Handle 0 flags 0x00 dlen 29 ATT: Handle Multiple Value Notification (0x23) len 24 Length: 0x0014 Handle: 0x003a Type: Broadcast Receive State (0x2bc8) Data[20]: 010111d985a6e12300f9bb850200010000000000 Source_ID: 1 Source_Address_Type: 1 Source_Address: 23:E1:A6:85:D9:11 Source_Adv_SID: 0 Broadcast_ID: 0x85bbf9 PA_Sync_State: Synchronized to PA BIG_Encryption: Not encrypted Num_Subgroups: 1 Subgroup #0: BIS_Sync State: 0x00000000 bluetoothd[5431]: < ACL Data TX: Handle 0 flags 0x00 dlen 29 ATT: Handle Multiple Value Notification (0x23) len 24 Length: 0x0014 Handle: 0x003a Type: Broadcast Receive State (0x2bc8) Data[20]: 010111d985a6e12300f9bb850201010000000000 Source_ID: 1 Source_Address_Type: 1 Source_Address: 23:E1:A6:85:D9:11 Source_Adv_SID: 0 Broadcast_ID: 0x85bbf9 PA_Sync_State: Synchronized to PA BIG_Encryption: Broadcast_Code required Num_Subgroups: 1 Subgroup #0: BIS_Sync State: 0x00000000 > ACL Data RX: Handle 0 flags 0x02 dlen 25 ATT: Write Command (0x52) len 20 Handle: 0x0040 Type: Broadcast Audio Scan Control Point (0x2bc7) Data[18]: 040161616100000000000000000000000000 Opcode: Set Broadcast_Code (0x04) Source_ID: 1 Broadcast_Code[16]: 61616100000000000000000000000000 < HCI Command: LE Broadcast Isochronous Group Create Sync (0x08|0x006b) BIG Handle: 0x00 BIG Sync Handle: 0x0000 Encryption: Encrypted (0x01) Broadcast Code[16]: 61616100000000000000000000000000 Maximum Number Subevents: 0x00 Timeout: 20000 ms (0x07d0) Number of BIS: 1 BIS ID: 0x01 > HCI Event: LE Meta Event (0x3e) plen 17 LE Broadcast Isochronous Group Sync Estabilished (0x1d) Status: Success (0x00) BIG Handle: 0x00 Transport Latency: 960 us (0x0003c0) NSE: 3 BN: 1 PTO: 1 IRC: 3 Maximum PDU: 40 ISO Interval: 10.00 msec (0x0008) Connection Handle #0: 10 < HCI Command: LE Setup Isochronous Data Path (0x08|0x006e) plen 13 Handle: 10 Data Path Direction: Output (Controller to Host) (0x01) Data Path: HCI (0x00) Coding Format: Transparent (0x03) Company Codec ID: Ericsson Technology Licensing (0) Vendor Codec ID: 0 Controller Delay: 0 us (0x000000) Codec Configuration Length: 0 Codec Configuration[0]: > HCI Event: Command Complete (0x0e) plen 6 LE Setup Isochronous Data Path (0x08|0x006e) ncmd 1 Status: Success (0x00) Handle: 10 bluetoothd[5431]: < ACL Data TX: Handle 0 flags 0x00 dlen 29 ATT: Handle Multiple Value Notification (0x23) len 24 Length: 0x0014 Handle: 0x003a Type: Broadcast Receive State (0x2bc8) Data[20]: 010111d985a6e12300f9bb850202010100000000 Source_ID: 1 Source_Address_Type: 1 Source_Address: 23:E1:A6:85:D9:11 Source_Adv_SID: 0 Broadcast_ID: 0x85bbf9 PA_Sync_State: Synchronized to PA BIG_Encryption: Decrypting Num_Subgroups: 1 Subgroup #0: BIS_Sync State: 0x00000001 Iulia Tanasescu 1 year ago 1 file, +32, -0
c5616c25 shared/bass: Set correct BIG enc state after sync A Scan Delegator might set the BIG encryption state of a Broadcast Receive State characteristic to "Broadcast Code Required", to notify Broadcast Assistants that the value is needed to decrypt the streams. If the Broadcast Code was received and BIG sync was established, the BIG encryption state must be transitioned to "Decrypting" state, to inform Assistants that BIG sync was successfully established with the correct Code. Iulia Tanasescu 1 year ago 1 file, +3, -0
29cb1b0b shared/bass: Call cp handler for the Set Broadcast Code op This updates the Set Broadcast Code control point handler inside shared/bass to call the handlers queued inside bt_bass. Iulia Tanasescu 1 year ago 1 file, +15, -1
4bc20f9d bass: Add support to request bcode This adds support for a Scan Delegator to request the Broadcast Code from peer Broadcast Assistants and to update a BAP stream QoS with the value. A BASS API is added to update the BIG encryption status of a Broadcast Receive State characteristic and to notify peers. When a peer provides the Code using the BASS "Set Broadcast Code" operation, the BAP stream QoS is updated. The driver calling this API will pass a callback as parameter, which will be called to signal that the Broadcast Code has been received and stored in the stream QoS. A timeout is set to wait for Broadcast Assistants to provide the Code. If the timeout expires, the callback will be code with the appropriate error status. Iulia Tanasescu 1 year ago 2 files, +147, -0
f5c0fe68 shared/bass: Add API to set BIG enc state This adds a shared/bass API to set the BIG encryption state field inside a Broadcast Receive State characteristic. Notifications are then sent to inform all peers about the update. Iulia Tanasescu 1 year ago 2 files, +25, -0
1c681c55 client/player: Add support to set empty bcode A Broadcast Sink might scan encrypted streams, and the user might not know the Broadcast Code to decrypt them. This commit adds the option to set an empty Broadcast Code when prompted for it after transport.select, if the Code is unknown. In this case, if the Broadcast Sink is acting as a Scan Delegator, it can ask its peer Broadcast Assistants to provide the Code through BASS. Iulia Tanasescu 1 year ago 1 file, +11, -2
bd7d49d5 avdtp: Fix state check before sending delay report The function which handles the incoming delay report command was fixed in 2fd62cd. However, the function which send such command was not updated. This commit fixes that. Also, indicate that the stream does not support delay reporting with an appropriate error code. Arkadiusz Bokowy 1 year ago 1 file, +2, -1
31e5b8f2 audio/avrcp: Extend ListItems to get more metadata This allows user applications to display the playlist with Artist, Album, Track number, Duration and Cover art handle. Frédéric Danis 1 year ago 1 file, +36, -14
671f370a audio/player: Clear playlist on Now Playing Changed AVRCP event Some devices reuse the item ids for the Now Playing list on playlist change. This commit allows to clear the list and prevent to keep the previous tracks information. Frédéric Danis 1 year ago 4 files, +28, -0
098b94ed audio/player: Fix media_player_set_metadata item destination Use item provided as parameter, or mp->track if NULL which is used by MCP. Frédéric Danis 1 year ago 1 file, +3, -2
8146d8f7 shared/bap: Fix load of misaligned address error This fixes the "load of misaligned address" error that appears when parsing PAC caps: src/shared/bap.c:6497:7: runtime error: load of misaligned address 0x502000063639 for type 'uint16_t', which requires 2 byte alignment 0x502000063639: note: pointer points here 02 03 05 04 1a 00 f0 00 02 03 01 02 11 00 00 08 00 00 00 a3 00 00 ^ 00 00 00 00 00 01 00 00 00 01 src/shared/bap.c:6498:7: runtime error: load of misaligned address 0x502000063639 for type 'uint16_t', which requires 2 byte alignment 0x502000063639: note: pointer points here 02 03 05 04 1a 00 f0 00 02 03 01 02 11 00 00 08 00 00 00 a3 00 00 ^ 00 00 00 00 00 01 00 00 00 01 Iulia Tanasescu 1 year ago 1 file, +6, -8
43bd13f7 client: Add Broadcast Assistant/Scan Delegator scripts This adds sample bluetoothctl scripts for the Broadcast Assistant/Scan Delegator scenarios. A test setup can be created using these 2 scripts and the broadcast-source.bt script: The Broadcast Assistant connects to the Scan Delegator and sends information about a broadcast stream. Iulia Tanasescu 1 year ago 2 files, +66, -0
38734e02 device: Remove device after all bearers are disconnected For a dual-mode remote, both BR/EDR and BLE may be connected, RemoveDevice should be handled after all bearers are disconnects. Otherwise, if msg is removed, but not all connection are dropped, this function returns before *remove is updated, then after all connections are dropped, but device->disconnects is NULL, remove_device is not updated. Consequently *remove is not set to true. Remove device is not performed in adapter_remove_connection. Cheng Jiang 1 year ago 1 file, +13, -12
20a38abb client: Update endpoint.show and transport.show documentation endpoint.show and transport.show argument is optional with latest changes. Luiz Augusto von Dentz 1 year ago 2 files, +2, -2
f7028d6a client: Update endpoint and trasport doc This updates the documentation for the use of endpoints and transports according to the latest changes in their design. nxf92481 1 year ago 2 files, +66, -2
eda123dc client/player: Make transport.show print all transports with no argument This makes transport.show arguments optional and in case none is given print all configured transports: [bluetooth]# transport.show Transport /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX/sep4/fd0 UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb) Codec: 0x02 (2) Media Codec: MPEG24 Object Types: MPEG-2 AAC LC Frequencies: 48kHz Channels: 2 Bitrate: 320000 VBR: Yes Device: /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX State: active Delay: 0x06a4 (1700) Volume: 0x0059 (89) Endpoint: /org/bluez/hci0/dev_94_XX_XX_XX_XX_XX/sep4 Luiz Augusto von Dentz 1 year ago 1 file, +27, -11
95c15d2c client/player: Make endpoint.show print all endpoint with no argument This makes endpoint.show arguments optional and in case none is given print all (local and remote) endpoints: [bluetooth]# endpoint.show Endpoint /local/endpoint/a2dp_src/sbc UUID 0000110a-0000-1000-8000-00805f9b34fb Codec 0x00 (0) Media Codec: SBC Channel Modes: Mono DualChannel Stereo JointStereo Frequencies: 16Khz 32Khz 44.1Khz 48Khz Subbands: 4 8 Blocks: 4 8 12 16 Bitpool Range: 2-64 Endpoint /local/endpoint/a2dp_snk/sbc UUID 0000110b-0000-1000-8000-00805f9b34fb Codec 0x00 (0) Media Codec: SBC Channel Modes: Mono DualChannel Stereo JointStereo Frequencies: 16Khz 32Khz 44.1Khz 48Khz Subbands: 4 8 Blocks: 4 8 12 16 Bitpool Range: 2-64 Luiz Augusto von Dentz 1 year ago 1 file, +34, -12
9a9dc3d4 shared/shell: Allow script command to be used within scripts This makes script command to allow the usage of script within the script file by saving existing execute queue and then replacing the line with script command with the lines of the input file. Luiz Augusto von Dentz 1 year ago 1 file, +26, -7
5b6ffe03 adapter: Cancel the service authorization when remote is disconnected If the remote device drops the connection before DUT confirm the service authorization, the DUT still must wait for service authorization timeout before processing future request. Cancel the service authorization request when connection is dropped. Cheng Jiang 1 year ago 3 files, +29, -20
ce6462eb bap: Set bap debug func at broadcast probe When a Broadcast Sink acting as a Scan Delegator probes a Broadcaster with the help of a Broadcast Assistant, a new BAP session is added for the Broadcaster device before additional session information is initialized (like the bt_bap session). This causes the bap debug func to not be set in bap_data_add. This commit adds an explicit call to set the function after the bt_bap session is created. Iulia Tanasescu 1 year ago 1 file, +3, -0
7104f377 mesh: Move local basename into utility file Defining an override via a missing.h can prove difficult when a file needs to use basename and dirname both the APIs and needs to include libgen.h for them, in such situations there will be signature clash for basename function. Khem Raj 1 year ago 6 files, +18, -26
44a19304 org.bluez.Device: Add documentation for GetServiceRecords() Vibhav Pant 1 year ago 1 file, +19, -0
95eb34ee device: Add method GetServiceRecords GetServiceRecords returns all currently known BR/EDR service records for the device, as an array of array of bytes. Each individual byte array represents a raw SDP record, as defined by the Bluetooth Service Discovery Protocol spec. This method is intended to be only used by compatibility layers like Wine, that need to provide access to raw SDP records to implement the Win32 Bluetooth API. Applications should instead use the Profile API for services-related functionality. Vibhav Pant 1 year ago 1 file, +83, -0
cd1c6b66 Fix missing inclusion of <limits.h> Needed for PATH_MAX. Ismael Luceno 1 year ago 23 files, +23, -1
84d0b5e2 contribution: add b4 config Add b4[1] config so b4 user can contribute more smoothly, especially send prefix. [1]: https://github.com/mricon/b4 Celeste Liu 1 year ago 1 file, +6, -0
bf6bfc33 org.bluez.Adapter: Add documentation for the Connectable property. Vibhav Pant 1 year ago 1 file, +13, -0
17f485f2 adapter: Add support for the Connectable property. To not break previous behavior, allow enabling the Discoverable property even if Connectable is currently false. Vibhav Pant 1 year ago 1 file, +25, -0
Previous Next