Bluetooth: classic: Enable BIP features

Add functions to manage BIP transport connect and disconnect both for
l2cap and rfcomm.

Add functions to register and unregister primary and secondary OBEX
servers.

Add functions to send OBEX connect/disconnect request and response.

Add functions to send OBEX get/put request and response with different
type defined by BT_BIP_HDR_TYPE_*.

Add functions to send abort request and response.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
This commit is contained in:
Lyle Zhu
2025-09-02 09:53:16 +08:00
committed by Johan Hedberg
parent 860fb0a96b
commit 89fda049bc
5 changed files with 3890 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -409,6 +409,10 @@ module = BT_GOEP
module-str = "Bluetooth Generic Object Exchange Profile (GOEP)"
source "subsys/logging/Kconfig.template.log_config_inherit"
module = BT_BIP
module-str = "Bluetooth Basic Imaging Profile (BIP)"
source "subsys/logging/Kconfig.template.log_config_inherit"
endmenu # Bluetooth Classic
endif # BT_CLASSIC

View File

@@ -10,6 +10,7 @@ zephyr_library_sources_ifdef(CONFIG_BT_AVDTP avdtp.c)
zephyr_library_sources_ifdef(CONFIG_BT_AVRCP avrcp.c)
zephyr_library_sources_ifdef(CONFIG_BT_AVCTP avctp.c)
zephyr_library_sources_ifdef(CONFIG_BT_RFCOMM rfcomm.c)
zephyr_library_sources_ifdef(CONFIG_BT_BIP bip.c)
zephyr_library_sources_ifdef(
CONFIG_BT_CLASSIC

View File

@@ -629,6 +629,13 @@ config BT_OEBX_RSP_CODE_TO_STR
endif # BT_GOEP
config BT_BIP
bool "Bluetooth BIP Profile [EXPERIMENTAL]"
select BT_GOEP
select EXPERIMENTAL
help
This option enables the BIP profile
endif # BT_CLASSIC
endmenu

File diff suppressed because it is too large Load Diff