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: tester: Fix assert in OTS #73017

Merged
merged 1 commit into from
May 24, 2024

Conversation

sjanc
Copy link
Collaborator

@sjanc sjanc commented May 20, 2024

MCS OTS support doesn't implement OTS checksum and if this is globally enabled assert is triggered.

[00:00:03.409,484] bttester_gap: set_io_cap: io_cap: 0 ASSERTION FAIL [ots_init->cb->obj_cal_checksum]
@ WEST_TOPDIR/zephyr/subsys/bluetooth/services/ots/ots.c:476
Callback for object calculate checksum is not set

This should be reverted when Zephyr issue #72471 is fixed.

Copy link
Contributor

@cvinayak cvinayak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick, Bluetooth with a B in the commit tittle?

@Thalley
Copy link
Collaborator

Thalley commented May 23, 2024

nitpick, Bluetooth with a B in the commit tittle?

Arguably it should also be tests: bluetooth

Not sure if we actually have any proper guidelines for this though

@cvinayak
Copy link
Contributor

nitpick, Bluetooth with a B in the commit tittle?

Arguably it should also be tests: bluetooth

Not sure if we actually have any proper guidelines for this though

tests: Bluetooth: ..

MCS OTS support doesn't implement OTS checksum and if this is globally
enabled assert is triggered.

[00:00:03.409,484] <dbg> bttester_gap: set_io_cap: io_cap: 0
ASSERTION FAIL [ots_init->cb->obj_cal_checksum]
     @ WEST_TOPDIR/zephyr/subsys/bluetooth/services/ots/ots.c:476
 Callback for object calculate checksum is not set

This should be reverted when Zephyr issue zephyrproject-rtos#72471 is fixed.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
@jhedberg jhedberg merged commit d3c0dfb into zephyrproject-rtos:main May 24, 2024
17 checks passed
@sjanc sjanc deleted the tester_ots branch May 24, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants