Skip to content

Commit 71ec12d

Browse files
MarkWangChinesefabiobaltieri
authored andcommitted
bluetooth: avdtp: implement the avdtp fragmentation and reassembly
Define BT_AVDTP_SIGNAL_SDU_MAX Kconfig item to limit the max avdtp signal SDU size, then use avdtp self defined net buf pool to prepare data. Use default acl_tx_pool pool do to the fragmentation. Signed-off-by: Mark Wang <[email protected]>
1 parent 1866e00 commit 71ec12d

File tree

3 files changed

+571
-197
lines changed

3 files changed

+571
-197
lines changed

subsys/bluetooth/host/classic/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,14 @@ config BT_AVDTP_RTP_VERSION
444444
help
445445
This option sets the AVDTP RTP protocol version
446446

447+
config BT_AVDTP_SIGNAL_SDU_MAX
448+
int "Maximum size of AVDTP signaling SDU"
449+
default 512
450+
range 48 $(UINT16_MAX)
451+
help
452+
This option sets the maximum size of AVDTP signaling SDU.
453+
The default value is 512 bytes.
454+
447455
endif # BT_AVDTP
448456

449457
if BT_A2DP

0 commit comments

Comments
 (0)