Bluetooth: OTS - join Kconfig for OTS server and client
Merge Kconfig file for OTS server and client. Rename the client config from _OTC to _OTS_CLIENT Signed-off-by: Asbjørn Sæbø <asbjorn.sabo@nordicsemi.no>
This commit is contained in:
parent
b33625fcd2
commit
352dd3763e
12 changed files with 69 additions and 79 deletions
|
@ -1,6 +1,6 @@
|
|||
# Bluetooth Object Transfer service
|
||||
|
||||
# Copyright (c) 2020 Nordic Semiconductor ASA
|
||||
# Copyright (c) 2020-2022 Nordic Semiconductor ASA
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BT_OTS
|
||||
|
@ -69,7 +69,29 @@ config BT_OTS_OBJ_NAME_WRITE_SUPPORT
|
|||
|
||||
endif # BT_OTS
|
||||
|
||||
if BT_OTS || BT_OTC
|
||||
#### Object Transfer Service Client ################################
|
||||
|
||||
config BT_OTS_CLIENT
|
||||
bool "Object Transfer Service Client [Experimental]"
|
||||
select BT_L2CAP_DYNAMIC_CHANNEL
|
||||
select BT_GATT_CLIENT
|
||||
select BT_GATT_AUTO_DISCOVER_CCC
|
||||
select EXPERIMENTAL
|
||||
help
|
||||
This option enables support for the Object Transfer Service Client.
|
||||
|
||||
if BT_OTS_CLIENT
|
||||
|
||||
# TODO: Unify logging for OTS server and client - the client uses
|
||||
# "BT" debugging, the server does not.
|
||||
config BT_DEBUG_OTS_CLIENT
|
||||
bool "Object Transfer Service Client debug"
|
||||
help
|
||||
Use this option to enable Object Transfer Client debug logs
|
||||
|
||||
endif # BT_OTS_CLIENT
|
||||
|
||||
if BT_OTS || BT_OTS_CLIENT
|
||||
|
||||
config BT_OTS_MAX_OBJ_CNT
|
||||
hex "Maximum number of objects that each service instance can store"
|
||||
|
@ -96,4 +118,4 @@ module = BT_OTS
|
|||
module-str = BT_OTS
|
||||
source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
endif # BT_OTS || BT_OTC
|
||||
endif # BT_OTS || BT_OTS_CLIENT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue