1.. zephyr:code-sample:: bluetooth_ccp_call_control_client 2 :name: Call Control Profile (CCP) Call Control Server 3 :relevant-api: bluetooth bt_ccp bt_tbs 4 5 CCP Call Control Server sample that registers one or more TBS bearers and advertises the 6 TBS UUID(s). 7 8Overview 9******** 10 11Application demonstrating the CCP Call Control Client functionality. 12Starts by scanning for a CCP Call Control Server to connect and set up calls. 13 14The profile works for both GAP Central and GAP Peripheral devices, but this sample only assumes the 15GAP Central role. 16 17This sample can be found under :zephyr_file:`samples/bluetooth/ccp_call_control_client` 18in the Zephyr tree. 19 20Check the :zephyr:code-sample-category:`bluetooth` samples for general information. 21 22Requirements 23************ 24 25* BlueZ running on the host, or 26* A board with Bluetooth Low Energy 5.2 support 27 28Building and Running 29******************** 30 31When building targeting an nrf52 series board with the Zephyr Bluetooth Controller, 32use ``-DEXTRA_CONF_FILE=overlay-bt_ll_sw_split.conf`` to enable the required feature support. 33 34Building for an nrf5340dk 35------------------------- 36 37You can build both the application core image and an appropriate controller image for the network 38core with: 39 40.. zephyr-app-commands:: 41 :zephyr-app: samples/bluetooth/ccp_call_control_client/ 42 :board: nrf5340dk/nrf5340/cpuapp 43 :goals: build 44 :west-args: --sysbuild 45 46If you prefer to only build the application core image, you can do so by doing instead: 47 48.. zephyr-app-commands:: 49 :zephyr-app: samples/bluetooth/ccp_call_control_client/ 50 :board: nrf5340dk/nrf5340/cpuapp 51 :goals: build 52 53In that case you can pair this application core image with the 54:zephyr:code-sample:`bluetooth_hci_ipc` sample 55:zephyr_file:`samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf` configuration. 56 57Building for a simulated nrf5340bsim 58------------------------------------ 59 60Similarly to how you would for real HW, you can do: 61 62.. zephyr-app-commands:: 63 :zephyr-app: samples/bluetooth/ccp_call_control_client/ 64 :board: nrf5340bsim/nrf5340/cpuapp 65 :goals: build 66 :west-args: --sysbuild 67 68Note this will produce a Linux executable in :file:`./build/zephyr/zephyr.exe`. 69For more information, check :ref:`this board documentation <nrf5340bsim>`. 70 71Building for a simulated nrf52_bsim 72----------------------------------- 73 74.. zephyr-app-commands:: 75 :zephyr-app: samples/bluetooth/ccp_call_control_client/ 76 :board: nrf52_bsim 77 :goals: build 78 :gen-args: -DEXTRA_CONF_FILE=overlay-bt_ll_sw_split.conf 79