Kconfig.bas 592 B

1234567891011121314151617181920212223
  1. # Bluetooth GATT Battery service
  2. # Copyright (c) 2018 Nordic Semiconductor ASA
  3. # SPDX-License-Identifier: Apache-2.0
  4. menuconfig BT_BAS
  5. bool "Enable GATT Battery service"
  6. select SENSOR
  7. config BT_BAS_LOG_LEVEL
  8. int "Battery service log level"
  9. depends on LOG
  10. range 0 4
  11. default 0
  12. depends on BT_BAS
  13. help
  14. Sets log level for the Battery service.
  15. Levels are:
  16. 0 OFF, do not write
  17. 1 ERROR, only write LOG_ERR
  18. 2 WARNING, write LOG_WRN in addition to previous level
  19. 3 INFO, write LOG_INF in addition to previous levels
  20. 4 DEBUG, write LOG_DBG in addition to previous levels