CONFIG_BT_RPC_GATT_SRV_MAX

Maximum number of GATT services

Type: int

Help

Maximum number of GATT services that BT_RPC client can define and register on a host.
It must be at least equal to sum of static and dynamic services which you plan to register
on a client.

Direct dependencies

BT_RPC

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At <nRF>/subsys/bluetooth/rpc/Kconfig:79

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → Bluetooth over RPC

config BT_RPC_GATT_SRV_MAX
    int "Maximum number of GATT services"
    range 0 64
    default 4
    depends on BT_RPC
    help
      Maximum number of GATT services that BT_RPC client can define and register on a host.
      It must be at least equal to sum of static and dynamic services which you plan to register
      on a client.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)