Skip to content

Commit

Permalink
tests: Bluetooth: tester: Fix assert in OTS
Browse files Browse the repository at this point in the history
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 #72471 is fixed.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
  • Loading branch information
sjanc authored and jhedberg committed May 24, 2024
1 parent e0c955e commit d3c0dfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/bluetooth/tester/overlay-le-audio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ CONFIG_BT_MPL_OBJECTS=y
CONFIG_BT_OTS=y
CONFIG_BT_OTS_SECONDARY_SVC=y
CONFIG_BT_OTS_MAX_OBJ_CNT=0x30
#disable OTS checksum support until 72471 is fixed
CONFIG_BT_OTS_OACP_CHECKSUM_SUPPORT=n
CONFIG_BT_MCS=y
CONFIG_MCTL_LOCAL_PLAYER_LOCAL_CONTROL=y
CONFIG_MCTL_REMOTE_PLAYER_CONTROL_OBJECTS=y
Expand Down

0 comments on commit d3c0dfb

Please sign in to comment.