Kconfig 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Bluetooth Object Transfer service
  2. # Copyright (c) 2020 Nordic Semiconductor ASA
  3. # SPDX-License-Identifier: Apache-2.0
  4. config BT_OTS
  5. bool "Object Transfer Service (OTS) [EXPERIMENTAL]"
  6. select BT_L2CAP_DYNAMIC_CHANNEL
  7. select BT_GATT_DYNAMIC_DB
  8. select BT_SMP
  9. help
  10. Enable Object Transfer Service.
  11. if BT_OTS
  12. config BT_OTS_MAX_INST_CNT
  13. int "Maximum number of available OTS instances"
  14. default 1
  15. range 1 1 if !BT_OTS_SECONDARY_SVC
  16. config BT_OTS_MAX_OBJ_CNT
  17. int "Maximum number of objects that each service instance can store"
  18. default 5
  19. config BT_OTS_SECONDARY_SVC
  20. bool "Register OTS as Secondary Service"
  21. config BT_OTS_OACP_READ_SUPPORT
  22. bool "Support OACP Read Operation"
  23. default y
  24. config BT_OTS_OLCP_GO_TO_SUPPORT
  25. bool "Support OLCP Go To Operation"
  26. default y
  27. config BT_OTS_L2CAP_CHAN_RX_MTU
  28. int "Size of RX MTU for Object Transfer Channel"
  29. default BT_L2CAP_RX_MTU if BT_HCI_ACL_FLOW_CONTROL
  30. default 23
  31. range 23 BT_L2CAP_RX_MTU if BT_HCI_ACL_FLOW_CONTROL
  32. range 23 BT_RX_BUF_LEN
  33. module = ACTS_BT_OTS
  34. module-str = BT_OTS
  35. source "subsys/logging/Kconfig.template.log_config"
  36. endif # BT_OTS