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:
1918
include/zephyr/bluetooth/classic/bip.h
Normal file
1918
include/zephyr/bluetooth/classic/bip.h
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
1960
subsys/bluetooth/host/classic/bip.c
Normal file
1960
subsys/bluetooth/host/classic/bip.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user