Skip to content
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

tests: Bluetooth: Tester: Add mutex for uart_send #87277

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Mar 18, 2025

Since tester_send_with_index may be called in different threads, we need to guard the 2 calls to uart_send to avoid sending partial btp message from 2 or more threads.

Since tester_send_with_index may be called in different threads,
we need to guard the 2 calls to uart_send to avoid
sending partial btp message from 2 or more threads.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
@zephyrbot zephyrbot added area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth labels Mar 18, 2025
@zephyrbot zephyrbot requested review from jhedberg and sjanc March 18, 2025 13:01
@kartben kartben merged commit f783e54 into zephyrproject-rtos:main Mar 20, 2025
20 checks passed
@Thalley Thalley deleted the btp_uart_send_mutex branch March 20, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants