Skip to content

Bluetooth: Host: BT scan failure when connecting by name in shell #78846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Bluetooth: Host: BT scan failure when connecting by name in shell #78846

merged 1 commit into from
Sep 25, 2024

Conversation

babrsn
Copy link
Contributor

@babrsn babrsn commented Sep 23, 2024

Added a timeout for active scans (instead of using the host's scan timeout) in the shell by submitting a k_work that stops the scan after a specified period.

Fixes #78659

@babrsn babrsn marked this pull request as ready for review September 23, 2024 09:43
@zephyrbot zephyrbot added area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) labels Sep 23, 2024
Thalley
Thalley previously approved these changes Sep 24, 2024
Thalley
Thalley previously approved these changes Sep 24, 2024
jhedberg
jhedberg previously approved these changes Sep 24, 2024
@Thalley
Copy link
Contributor

Thalley commented Sep 24, 2024

@babrsn needs a rebase

Added a timeout for active scans (instead of using the host's scan
timeout) in the shell by submitting a k_work that stops the scan
after a specified period.

Fixes #78659

Signed-off-by: Babak Arisian <bbaa@demant.com>
@babrsn babrsn dismissed stale reviews from jhedberg and Thalley via 201f978 September 25, 2024 07:21
@babrsn
Copy link
Contributor Author

babrsn commented Sep 25, 2024

@babrsn needs a rebase

Done.

@carlescufi carlescufi merged commit d8c1d4d into zephyrproject-rtos:main Sep 25, 2024
26 checks passed
@babrsn babrsn deleted the bug_scan_failure branch September 25, 2024 11:00
dkalowsk pushed a commit that referenced this pull request Oct 28, 2024
I have contributed the following PRs:
#80000
#79360
#78846
#78751
#74950
#74946
#73845
#72849

and am attending the weekly LE Audio Zephyr meetings.

Signed-off-by: Babak Arisian <bbaa@demant.com>
coreboot-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request Oct 31, 2024
I have contributed the following PRs:
zephyrproject-rtos/zephyr#80000
zephyrproject-rtos/zephyr#79360
zephyrproject-rtos/zephyr#78846
zephyrproject-rtos/zephyr#78751
zephyrproject-rtos/zephyr#74950
zephyrproject-rtos/zephyr#74946
zephyrproject-rtos/zephyr#73845
zephyrproject-rtos/zephyr#72849

and am attending the weekly LE Audio Zephyr meetings.

(cherry picked from commit c903013)

Original-Signed-off-by: Babak Arisian <bbaa@demant.com>
GitOrigin-RevId: c903013
Cr-Build-Id: 8732568629207591185
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8732568629207591185
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: Iab40058a1cc005e6454c07b4156fc271c0b84fca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5982745
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bluetooth: Shell: Bluetooth scan failed (err -22) in audio_shell after trying to connect to a device by name
6 participants