Bluetooth: Audio: Media - truncate strings for notification
Truncate strings being notified to fit the ATT_MTU, to prevent notifications from not being delivered due to being too long. For now uses the minimum ATT_MTU, as the MCS does not yet track connections. Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
parent
2ec3222426
commit
ed2ea2c7df
4 changed files with 37 additions and 2 deletions
|
@ -66,6 +66,7 @@ CONFIG_MCTL_LOCAL_PLAYER_LOCAL_CONTROL=y
|
|||
CONFIG_MCTL_LOCAL_PLAYER_REMOTE_CONTROL=y
|
||||
CONFIG_MCTL_REMOTE_PLAYER_CONTROL=y
|
||||
CONFIG_MCTL_REMOTE_PLAYER_CONTROL_OBJECTS=y
|
||||
CONFIG_UTF8=y
|
||||
|
||||
# Media player
|
||||
CONFIG_BT_MPL=y
|
||||
|
|
|
@ -87,6 +87,7 @@ CONFIG_BT_MCS=y
|
|||
CONFIG_BT_MCC=y
|
||||
CONFIG_BT_MCC_OTS=y
|
||||
CONFIG_BT_MCC_TOTAL_OBJ_CONTENT_MEM=4096
|
||||
CONFIG_UTF8=y
|
||||
|
||||
# Object Transfer
|
||||
CONFIG_BT_OTS=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue