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

Bluetooth: SDP: Correct record length of service att rsp #82660

Conversation

lylezhu2012
Copy link
Contributor

The discovered SDP record of service attribute transaction response cannot notified correctly. There is an error returned from function get_record_len().

For service attribute transaction response, only one attribute list is returned. So the total record length is the buffer length. Return buffer length directly from get_record_len() to fix the issue.

The discovered SDP record of service attribute transaction response
cannot notified correctly. There is an error returned from function
`get_record_len()`.

For service attribute transaction response, only one attribute list
is returned. So the total record length is the buffer length. Return
buffer length directly from `get_record_len()` to fix the issue.

Signed-off-by: Lyle Zhu <[email protected]>
@lylezhu2012 lylezhu2012 self-assigned this Dec 6, 2024
@zephyrbot zephyrbot requested a review from jhedberg December 6, 2024 16:55
@kartben kartben merged commit f279f61 into zephyrproject-rtos:main Dec 10, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants