text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```unknown # Increased stack due to settings API usage CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_SMP=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DIS=y CONFIG_BT_BAS=y CONFIG_BT_DEVICE_NAME="Test HoG mouse" CONFIG_BT_DEVICE_APPEARANCE=962 CONFIG_BT_SETTINGS=y CONFIG_FLASH=y CONFIG_FLASH_MAP=y C...
/content/code_sandbox/samples/bluetooth/peripheral_hids/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
98
```restructuredtext .. _peripheral_hids: Bluetooth: Peripheral HIDs ########################## Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application specifically exposes the HID GATT Service. The report map used is for a generic mouse. In the default configuration ...
/content/code_sandbox/samples/bluetooth/peripheral_hids/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
199
```yaml sample: name: Bluetooth Peripheral HIDs description: Bluetooth Low Energy HID-over-GATT service sample tests: sample.bluetooth.peripheral_hids: harness: bluetooth platform_allow: qemu_x86 tags: bluetooth integration_platforms: - qemu_x86 sample.bluetooth.peripheral_hids.no_authenti...
/content/code_sandbox/samples/bluetooth/peripheral_hids/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
116
```objective-c /** @file * @brief HoG Service sample */ /* * */ #ifdef __cplusplus extern "C" { #endif void hog_init(void); void hog_button_loop(void); #ifdef __cplusplus } #endif ```
/content/code_sandbox/samples/bluetooth/peripheral_hids/src/hog.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
47
```c /* main.c - Application main entry point */ /* * */ #include <zephyr/types.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/byteorder.h> #include <zephyr/kernel.h> #include <zephyr/settings/settings.h> #include <zephyr/bluetooth/bluetooth.h> #i...
/content/code_sandbox/samples/bluetooth/peripheral_hids/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
917
```unknown /* * */ &lptmr1 { interrupt-parent = <&intmux0_ch2>; }; &intmux0_ch2 { status = "okay"; }; &intmux0_ch3 { status = "okay"; }; &generic_fsk { interrupt-parent = <&intmux0_ch3>; status = "okay"; }; ```
/content/code_sandbox/samples/bluetooth/peripheral_hids/boards/rv32m1_vega_openisa_rv32m1_ri5cy.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
72
```cmake if(NOT("${SB_CONFIG_NET_CORE_BOARD}" STREQUAL "")) # For builds in the nrf5340, we build the netcore image with the controller set(NET_APP hci_ipc) set(NET_APP_SRC_DIR ${ZEPHYR_BASE}/samples/bluetooth/${NET_APP}) ExternalZephyrProject_Add( APPLICATION ${NET_APP} SOURCE_DIR ${NET_APP_SRC_DIR} BOAR...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/sysbuild.cmake
cmake
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
168
```c /** @file * @brief HoG Service sample */ /* * */ #include <zephyr/types.h> #include <zephyr/drivers/gpio.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/byteorder.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include...
/content/code_sandbox/samples/bluetooth/peripheral_hids/src/hog.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,764
```unknown source "share/sysbuild/Kconfig" config NET_CORE_BOARD string default "nrf5340dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340dk" default "nrf5340_audio_dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340_audio_dk" default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP" config ...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/Kconfig.sysbuild
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
141
```unknown # Zephyr Bluetooth Controller CONFIG_BT_LL_SW_SPLIT=y # Zephyr Controller tested maximum advertising data that can be set in a single HCI command CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191 # Enable support for Broadcast ISO in Zephyr Bluetooth Controller CONFIG_BT_CTLR_ADV_ISO=y # Sufficient ISO PDU length for a...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/overlay-bt_ll_sw_split.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
195
```unknown CONFIG_MAIN_STACK_SIZE=2048 CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_AUDIO=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_ISO_MAX_CHAN=2 CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT=2 CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT=2 CONFIG_BT_ISO_TX_BUF_COUNT=4 CONFIG_BT_HCI_ACL_FLOW_CONTROL=n # PBP support CONFIG_BT_PBP=y # CAP ...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
155
```restructuredtext .. zephyr:code-sample:: bluetooth_public_broadcast_source :name: Bluetooth: Public Broadcast Source :relevant-api: bluetooth Bluetooth: Public Broadcast Source Overview ******** Application demonstrating the LE Public Broadcast Profile source functionality. Will start advertising extende...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
608
```yaml sample: description: Bluetooth Low Energy Public Broadcast Source sample name: Bluetooth Low Energy Public Broadcast Source sample tests: sample.bluetooth.pbp_public_broadcast_source: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf5340dk/nrf5340/cpuapp ...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
224
```restructuredtext .. _peripheral_ots: Bluetooth: Peripheral OTS ######################### Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application specifically exposes the OTS (Object Transfer) GATT Service. Requirements ************ * BlueZ running on the host, o...
/content/code_sandbox/samples/bluetooth/peripheral_ots/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
124
```unknown CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="Zephyr OTS" CONFIG_BT_OTS=y CONFIG_BT_OTS_DIR_LIST_OBJ=y CONFIG_BT_OTS_OBJ_NAME_WRITE_SUPPORT=y CONFIG_BT_OTS_OACP_WRITE_SUPPORT=y CONFIG_BT_OTS_OACP_PATCH_SUPPORT=y CONFIG_BT_OTS_OACP_CREATE_SUPPORT=y CONFIG_BT_OTS_OACP_DELETE_SUPPORT=y CONFIG_BT_OTS...
/content/code_sandbox/samples/bluetooth/peripheral_ots/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
127
```yaml sample: name: Bluetooth Peripheral OTS description: Demonstrates the OTS (Object Transfer) GATT Service tests: sample.bluetooth.peripheral_ots: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 tags: bluetooth integration_platforms: - qemu_cortex_m3 ```
/content/code_sandbox/samples/bluetooth/peripheral_ots/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
78
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/printk.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/bap_lc3_preset.h> #include <zeph...
/content/code_sandbox/samples/bluetooth/pbp_public_broadcast_source/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,964
```unknown CONFIG_BT_RX_STACK_SIZE=1800 ```
/content/code_sandbox/samples/bluetooth/peripheral_ots/boards/rd_rw612_bga.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
10
```restructuredtext .. _bluetooth-eddystone-sample: Bluetooth: Eddystone #################### Overview ******** Application demonstrating `Eddystone Configuration Service`_ The Eddystone Configuration Service runs as a GATT service on the beacon while it is connectable and allows configuration of the advertised data...
/content/code_sandbox/samples/bluetooth/eddystone/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
183
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="Zephyr Eddystone" ```
/content/code_sandbox/samples/bluetooth/eddystone/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
28
```yaml sample: name: Bluetooth Eddystone tests: sample.bluetooth.eddystone: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 tags: bluetooth integration_platforms: - qemu_cortex_m3 ```
/content/code_sandbox/samples/bluetooth/eddystone/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
61
```c /* * */ #include <zephyr/types.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/gatt.h> #include <zephyr/bluetooth/hci.h> #include <zephyr/bluetooth/services...
/content/code_sandbox/samples/bluetooth/peripheral_ots/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,624
```unknown /* * */ &lptmr1 { interrupt-parent = <&intmux0_ch2>; }; &intmux0_ch2 { status = "okay"; }; &intmux0_ch3 { status = "okay"; }; &generic_fsk { interrupt-parent = <&intmux0_ch3>; status = "okay"; }; ```
/content/code_sandbox/samples/bluetooth/eddystone/boards/rv32m1_vega_openisa_rv32m1_ri5cy.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
72
```restructuredtext .. _peripheral_nus: Bluetooth: Peripheral NUS ######################### Overview ******** This sample demonstrates the usage of the NUS service (Nordic UART Service) as a serial endpoint to exchange data. In this case, the sample assumes the data is UTF-8 encoded, but it may be binary data. Once ...
/content/code_sandbox/samples/bluetooth/peripheral_nus/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
170
```unknown CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_ZEPHYR_NUS=y ```
/content/code_sandbox/samples/bluetooth/peripheral_nus/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
22
```yaml sample: name: Bluetooth Peripheral NUS description: Demonstrates the NUS GATT Service (Nordic UART Service) tests: sample.bluetooth.peripheral_nus: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf52840dk/nrf52840 integration_platforms: - qemu_cortex_...
/content/code_sandbox/samples/bluetooth/peripheral_nus/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
92
```c /* * */ #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/services/nus.h> #define DEVICE_NAME CONFIG_BT_DEVICE_NAME #define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1) static const struct bt_data ad[] = { BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO...
/content/code_sandbox/samples/bluetooth/peripheral_nus/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
537
```restructuredtext .. _peripheral_ht: Bluetooth: Peripheral HT ######################## Overview ******** Similar to the :ref:`Peripheral <ble_peripheral>` sample, except that this application specifically exposes the HT (Health Thermometer) GATT Service. On Nordic nRF devices, this sample uses the built-in TEMP p...
/content/code_sandbox/samples/bluetooth/peripheral_ht/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
154
```unknown mainmenu "Bluetooth: Peripheral HT" if HAS_HW_NRF_TEMP config SENSOR default y config TEMP_NRF5 default y endif # HAS_HW_NRF_TEMP source "Kconfig.zephyr" ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
48
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_SMP=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DIS=y CONFIG_BT_DIS_PNP=n CONFIG_BT_BAS=y CONFIG_BT_DEVICE_NAME="Zephyr Health Thermometer" CONFIG_BT_DEVICE_APPEARANCE=768 CONFIG_CBPRINTF_FP_SUPPORT=y ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
68
```yaml sample: name: Bluetooth Peripheral HT description: Demonstrates the HT (Health Thermometer) GATT Service tests: sample.bluetooth.peripheral_ht: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf51dk/nrf51822 - nrf52dk/nrf52832 tags: bluetooth integ...
/content/code_sandbox/samples/bluetooth/peripheral_ht/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
256
```c /** @file * @brief HTS Service sample */ /* * */ #include <stdio.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/drivers/sensor.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/byteorder.h> #include <zephyr/bluetooth/bluetooth.h> #include <ze...
/content/code_sandbox/samples/bluetooth/peripheral_ht/src/hts.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
875
```c /* main.c - Application main entry point */ /* * */ #include <zephyr/types.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/byteorder.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/hci.h> #includ...
/content/code_sandbox/samples/bluetooth/peripheral_ht/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
704
```objective-c /** @file * @brief HTS Service sample */ /* * */ #ifdef __cplusplus extern "C" { #endif void hts_init(void); void hts_indicate(void); #ifdef __cplusplus } #endif ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/src/hts.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
49
```unknown CONFIG_PM=y ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/boards/rd_rw612_bga.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5
```unknown /* * */ &lptmr1 { interrupt-parent = <&intmux0_ch2>; }; &intmux0_ch2 { status = "okay"; }; &intmux0_ch3 { status = "okay"; }; &generic_fsk { interrupt-parent = <&intmux0_ch3>; status = "okay"; }; ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/boards/rv32m1_vega_openisa_rv32m1_ri5cy.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
72
```unknown CONFIG_PM=y ```
/content/code_sandbox/samples/bluetooth/peripheral_ht/boards/frdm_rw612.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5
```restructuredtext .. _bluetooth-broadcaster-multiple-sample: Bluetooth: Multiple Broadcaster ############################### Overview ******** A simple application demonstrating the Bluetooth Low Energy Broadcaster that uses multiple advertising sets functionality. This sample advertises two non-connectable non-s...
/content/code_sandbox/samples/bluetooth/broadcaster_multiple/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
254
```c /* main.c - Application main entry point */ /* * */ #include <zephyr/types.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/util.h> #include <zephyr/sys/byteorder.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <ze...
/content/code_sandbox/samples/bluetooth/eddystone/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,360
```unknown CONFIG_BT=y CONFIG_BT_BROADCASTER=y CONFIG_BT_EXT_ADV=y CONFIG_BT_EXT_ADV_MAX_ADV_SET=2 CONFIG_BT_DEVICE_NAME="Broadcaster Multiple" CONFIG_LOG=y # Zephyr Bluetooth LE Controller will need to use chain PDUs when AD data # length > 191 bytes # - 31 bytes will use 22 bytes for the default name in this sample...
/content/code_sandbox/samples/bluetooth/broadcaster_multiple/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
219
```c /* * */ #include <zephyr/sys/printk.h> int broadcaster_multiple(void); int main(void) { printk("Starting Multiple Broadcaster Demo\n"); (void)broadcaster_multiple(); printk("Exiting %s thread.\n", __func__); return 0; } ```
/content/code_sandbox/samples/bluetooth/broadcaster_multiple/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
57
```yaml sample: name: Bluetooth Multiple Extended Advertising Broadcaster tests: sample.bluetooth.multiple_broadcast: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf51dk/nrf51822 - nrf52_bsim - nrf52dk/nrf52832 tags: bluetooth integration_platforms:...
/content/code_sandbox/samples/bluetooth/broadcaster_multiple/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
93
```restructuredtext .. _bluetooth-hci-pwr-ctrl-sample: Bluetooth: HCI Power Control ############################ Overview ******** This sample application demonstrates the dynamic Tx power control over the LL of the BLE controller via Zephyr HCI VS commands. The application implements a peripheral advertising with v...
/content/code_sandbox/samples/bluetooth/hci_pwr_ctrl/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
297
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_HRS=y CONFIG_BT_DEVICE_APPEARANCE=833 CONFIG_BT_DEVICE_NAME="Dynamic test beacon" CONFIG_BT_CTLR_ADVANCED_FEATURES=y CONFIG_BT_CTLR_CONN_RSSI=y CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y ```
/content/code_sandbox/samples/bluetooth/hci_pwr_ctrl/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
69
```yaml sample: name: Bluetooth HCI-based Dynamic Power Control tests: sample.bluetooth.hci_pwr_ctrl: harness: bluetooth platform_allow: - bbc_microbit - nrf51dk/nrf51822 - nrf52dk/nrf52832 - qemu_cortex_m3 - qemu_x86 tags: bluetooth integration_platforms: - qemu_...
/content/code_sandbox/samples/bluetooth/hci_pwr_ctrl/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
93
```c /* * */ #include <zephyr/sys/printk.h> #include <zephyr/bluetooth/bluetooth.h> /* Maximum supported AD data length, use a value supported by the Controller, * Bluetooth Core Specification define minimum of 31 bytes will be supported by * all Controllers, can be a maximum of 1650 bytes when supported. */ #if...
/content/code_sandbox/samples/bluetooth/broadcaster_multiple/src/broadcaster_multiple.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
978
```restructuredtext .. _bluetooth_tmap_bms: Bluetooth: TMAP BMS ################### Overview ******** Application demonstrating the LE Audio TMAP Broadcast Media Sender functionality. Implements the BMS role. Requirements ************ * A board with Bluetooth Low Energy 5.2 support Building and Running *********...
/content/code_sandbox/samples/bluetooth/tmap_bms/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
109
```unknown CONFIG_MAIN_STACK_SIZE=2048 CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_AUDIO=y CONFIG_BT_SMP=y CONFIG_BT_KEYS_OVERWRITE_OLDEST=y CONFIG_BT_L2CAP_TX_BUF_COUNT=20 # TMAP support CONFIG_BT_TMAP=y # CAP support CONFIG_BT_CAP_INITIATOR=y # BAP support CONFIG_BT_BAP_BROADCAST_SOURCE=y CONFIG_BT...
/content/code_sandbox/samples/bluetooth/tmap_bms/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
159
```yaml sample: description: Bluetooth Low Energy Audio TMAP BMS sample name: Bluetooth Low Energy Audio TMAP BMS sample tests: sample.bluetooth.tmap_bms: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - native_sim tags: bluetooth integration_platforms: - qe...
/content/code_sandbox/samples/bluetooth/tmap_bms/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
85
```c /* main.c - Application main entry point */ /* * */ #include <zephyr/types.h> #include <stddef.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/util.h> #include <zephyr/sys/byteorder.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/hci.h> #include <zephyr/bluetooth/hci_vs.h> #inclu...
/content/code_sandbox/samples/bluetooth/hci_pwr_ctrl/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,238
```objective-c /* * */ #include <zephyr/types.h> /** * @brief Initialize the CAP Initiator role * * @return 0 if success, errno on failure. */ int cap_initiator_init(void); /** * @brief Setup streams for CAP Initiator * * @return 0 if success, errno on failure. */ int cap_initiator_setup(void); ```
/content/code_sandbox/samples/bluetooth/tmap_bms/src/tmap_bms.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
76
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <zephyr/kernel.h> #include <zephyr/sys/printk.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/tmap.h> #include "tmap_bms.h" static int init(void) { int err; err = bt_enable(...
/content/code_sandbox/samples/bluetooth/tmap_bms/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
270
```unknown # For LC3 the following configs are needed CONFIG_FPU=y CONFIG_LIBLC3=y # The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence # inctease stack size for that thread. CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 ```
/content/code_sandbox/samples/bluetooth/tmap_bms/boards/nrf5340dk_nrf5340_cpuapp.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```unknown CONFIG_LOG_MODE_IMMEDIATE=y CONFIG_BT_TINYCRYPT_ECC=y CONFIG_LIBLC3=y CONFIG_FPU=y # For LE-audio at 10ms intervals we need the tick counter to occur more frequently # than every 10 ms as each PDU for some reason takes 2 ticks to process. CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 CONFIG_NATIVE_SIM_SLOWDOWN_TO_RE...
/content/code_sandbox/samples/bluetooth/tmap_bms/boards/native_sim.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
90
```unknown CONFIG_LOG_MODE_IMMEDIATE=y CONFIG_BT_TINYCRYPT_ECC=y CONFIG_LIBLC3=y CONFIG_FPU=y # For LE-audio at 10ms intervals we need the tick counter to occur more frequently # than every 10 ms as each PDU for some reason takes 2 ticks to process. CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 CONFIG_NATIVE_POSIX_SLOWDOWN_TO_...
/content/code_sandbox/samples/bluetooth/tmap_bms/boards/native_posix.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
91
```unknown # For LC3 the following configs are needed CONFIG_FPU=y CONFIG_LIBLC3=y # The LC3 codec uses a large amount of stack. This app runs the codec in the work-queue, hence # inctease stack size for that thread. CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096 ```
/content/code_sandbox/samples/bluetooth/tmap_bms/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```restructuredtext .. _peripheral_iso: Bluetooth: Peripheral ISO ######################### Overview ******** This sample demonstrates how to use isochronous channels as a peripheral. The sample starts advertising, waits for a central to connect to it and set up an isochronous channel. Once the isochronous channel i...
/content/code_sandbox/samples/bluetooth/peripheral_iso/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
550
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/bap_lc3_preset.h> #include <zephyr/bluetooth/audio/cap.h> #include <zephyr/bluetooth/audio/bap.h> #include <zephyr/b...
/content/code_sandbox/samples/bluetooth/tmap_bms/src/cap_initiator.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,561
```yaml sample: description: Bluetooth ISO peripheral (server) sample name: Bluetooth ISO peripheral (server) sample tests: sample.bluetooth.peripheral_iso: harness: bluetooth platform_allow: qemu_x86 tags: bluetooth integration_platforms: - qemu_x86 ```
/content/code_sandbox/samples/bluetooth/peripheral_iso/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
63
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_DEVICE_NAME="Zephyr ISO server" CONFIG_BT_ISO_PERIPHERAL=y CONFIG_BT_SMP=y CONFIG_BT_KEYS_OVERWRITE_OLDEST=y CONFIG_BT_SETTINGS=y CONFIG_FLASH=y CONFIG_FLASH_MAP=y CONFIG_NVS=y CONFIG_SETTINGS=y ```
/content/code_sandbox/samples/bluetooth/peripheral_iso/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/byteorder.h> #include <zephyr/kernel.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/hci.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/...
/content/code_sandbox/samples/bluetooth/peripheral_iso/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,184
```restructuredtext .. _iso_broadcast_benchmark: Bluetooth: Throughput ##################### The ISO Broadcast Benchmark sample measures and report packet loss and sync loss of an ISO broadcaster against one or more ISO broadcast receivers. Overview ******** The sample transmits data from the *broadcaster* to the *...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,828
```unknown CONFIG_CONSOLE_SUBSYS=y CONFIG_CONSOLE_GETCHAR=y CONFIG_BT_DEVICE_NAME="ISO Broadcast Throughput" CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_OBSERVER=y CONFIG_BT_ISO_BROADCASTER=y CONFIG_BT_ISO_SYNC_RECEIVER=y CONFIG_BT_ISO_MAX_CHAN=1 CONFIG_BT_ISO_TX_BUF_COUNT=2 CONFIG_MAIN_STACK_SIZE=2048 CONFIG_LOG=y...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
100
```yaml sample: name: BLE ISO Broadcast description: Bluetooth Low Energy ISO Broadcast Benchmark sample tests: sample.bluetooth.iso_broadcast_benchmark: build_only: true platform_allow: - nrf52840dk/nrf52840 - nrf5340dk/nrf5340/cpuapp - nrf5340_audio_dk/nrf5340/cpuapp integration_pl...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
105
```c /* * */ #include <ctype.h> #include <zephyr/console/console.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/iso.h> #include "common.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(iso_broadcast_main, LOG_LEVEL_DBG); enum benchmark_role { ROLE_RECEIVER, ROLE_BROADCASTER, ROLE_...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
481
```c /* * */ #include <ctype.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/iso.h> #include <zephyr/sys/byteorder.h> #include <zephyr/console/console.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(iso_broadcast_receiver, LOG_LEVEL_DBG); #define DEVI...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/src/receiver.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,470
```objective-c /* * */ int test_run_receiver(void); int test_run_broadcaster(void); ```
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/src/common.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
18
```cmake if(SB_CONFIG_NET_CORE_IMAGE_HCI_IPC) # For builds in the nrf5340, we build the netcore image with the controller set(NET_APP hci_ipc) set(NET_APP_SRC_DIR ${ZEPHYR_BASE}/samples/bluetooth/${NET_APP}) ExternalZephyrProject_Add( APPLICATION ${NET_APP} SOURCE_DIR ${NET_APP_SRC_DIR} BOARD ${SB_C...
/content/code_sandbox/samples/bluetooth/cap_acceptor/sysbuild.cmake
cmake
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
166
```unknown source "share/sysbuild/Kconfig" config NET_CORE_BOARD string default "nrf5340dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340dk" default "nrf5340_audio_dk/nrf5340/cpunet" if "$(BOARD)" = "nrf5340_audio_dk" default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP" config ...
/content/code_sandbox/samples/bluetooth/cap_acceptor/Kconfig.sysbuild
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
141
```unknown # Zephyr Bluetooth Controller CONFIG_BT_LL_SW_SPLIT=y # Zephyr Controller tested maximum advertising data that can be set in a single HCI command CONFIG_BT_CTLR_ADV_DATA_LEN_MAX=191 # Enable support for central ISO in Zephyr Bluetooth Controller CONFIG_BT_CTLR_PERIPHERAL_ISO=y # Support the highest SDU si...
/content/code_sandbox/samples/bluetooth/cap_acceptor/overlay-bt_ll_sw_split.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
139
```restructuredtext .. zephyr:code-sample:: bluetooth_cap_acceptor :name: Bluetooth: Common Audio Profile Acceptor :relevant-api: bt_cap bt_bap bluetooth CAP Acceptor sample that advertises audio availability to CAP Initiators. Overview ******** Application demonstrating the CAP Acceptor functionality. Star...
/content/code_sandbox/samples/bluetooth/cap_acceptor/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
602
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_ISO_PERIPHERAL=y CONFIG_BT_GATT_DYNAMIC_DB=y CONFIG_BT_GATT_CLIENT=y CONFIG_BT_EXT_ADV=y CONFIG_BT_DEVICE_NAME="CAP Acceptor" CONFIG_BT_AUDIO=y CONFIG_BT_SMP=y CONFIG_BT_KEYS_OVERWRITE_OLDEST=y # CAP CONFIG_BT_CAP_ACCEPTOR=y # BAP support CONFIG_B...
/content/code_sandbox/samples/bluetooth/cap_acceptor/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
210
```yaml sample: description: Bluetooth Low Energy Common Audio Profile Acceptor sample name: Bluetooth Low Energy Common Audio Profile Acceptor sample tests: sample.bluetooth.cap_acceptor: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf5340dk/nrf5340/cpuapp - n...
/content/code_sandbox/samples/bluetooth/cap_acceptor/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
262
```c /* * */ #include <ctype.h> #include <stdlib.h> #include <zephyr/console/console.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/iso.h> #include <zephyr/sys/byteorder.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(iso_broadcast_broadcaster, LOG_LEVEL_DBG); #define DEFAULT_BIS_RTN ...
/content/code_sandbox/samples/bluetooth/iso_broadcast_benchmark/src/broadcaster.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,302
```objective-c /* * */ #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/cap.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/kernel.h> #define SINK_CONTEXT BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED #define SOURCE_CONTEXT BT_AUDIO_CONTEXT_TYPE_UNSPECIFIED /** Struct to contain in...
/content/code_sandbox/samples/bluetooth/cap_acceptor/src/cap_acceptor.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
389
```c /* * */ #include <autoconf.h> #include <errno.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <zephyr/bluetooth/addr.h> #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/cap.h> #include <zephyr/bluetooth/audio/lc3.h> #include <zephyr/bluetooth/audio/pacs.h> #in...
/content/code_sandbox/samples/bluetooth/cap_acceptor/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,308
```unknown CONFIG_BT_BUF_EVT_RX_SIZE=255 CONFIG_BT_BUF_ACL_RX_SIZE=255 CONFIG_BT_BUF_ACL_TX_SIZE=251 CONFIG_BT_BUF_CMD_TX_SIZE=255 CONFIG_BT_TINYCRYPT_ECC=y ```
/content/code_sandbox/samples/bluetooth/cap_acceptor/boards/nrf5340dk_nrf5340_cpuapp.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
46
```c /** @file * @brief Bluetooth Common Audio Profile (CAP) Acceptor unicast. * * */ #include <autoconf.h> #include <errno.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <zephyr/bluetooth/audio/audio.h> #include <zephyr/bluetooth/audio/bap.h> #include <zephyr/bluetooth/audio/cap.h> #in...
/content/code_sandbox/samples/bluetooth/cap_acceptor/src/cap_acceptor_unicast.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,443
```unknown CONFIG_BT_BUF_EVT_RX_SIZE=255 CONFIG_BT_BUF_ACL_RX_SIZE=255 CONFIG_BT_BUF_ACL_TX_SIZE=251 CONFIG_BT_BUF_CMD_TX_SIZE=255 CONFIG_BT_TINYCRYPT_ECC=y ```
/content/code_sandbox/samples/bluetooth/cap_acceptor/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
46
```unknown CONFIG_BT=y CONFIG_LOG=y ```
/content/code_sandbox/samples/bluetooth/ibeacon/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9
```yaml sample: description: Sample code for Zephyr iBeacon Demo name: iBeacon tests: sample.bluetooth.ibeacon: harness: bluetooth platform_allow: - bbc_microbit - qemu_x86 tags: bluetooth integration_platforms: - qemu_x86 ```
/content/code_sandbox/samples/bluetooth/ibeacon/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
70
```restructuredtext .. _bluetooth-ibeacon-sample: Bluetooth: iBeacon ################## Overview ******** This simple application demonstrates the BLE Broadcaster role functionality by advertising an Apple iBeacon. The calibrated RSSI @ 1 meter distance can be set using an IBEACON_RSSI build variable (e.g. IBEACON_R...
/content/code_sandbox/samples/bluetooth/ibeacon/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
316
```unknown CONFIG_PM=y ```
/content/code_sandbox/samples/bluetooth/ibeacon/boards/sltb010a.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5
```unknown /* * */ &lptmr1 { interrupt-parent = <&intmux0_ch2>; }; &intmux0_ch2 { status = "okay"; }; &intmux0_ch3 { status = "okay"; }; &generic_fsk { interrupt-parent = <&intmux0_ch3>; status = "okay"; }; ```
/content/code_sandbox/samples/bluetooth/ibeacon/boards/rv32m1_vega_openisa_rv32m1_ri5cy.overlay
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
72
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <zephyr/sys/printk.h> #include <zephyr/sys/util.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/hci.h> #ifndef IBEACON_RSSI #define IBEACON_RSSI 0xc8 #endif /* * Set iBeacon demo advertisement data. These values are for * ...
/content/code_sandbox/samples/bluetooth/ibeacon/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
560
```restructuredtext .. _bluetooth-periodic-advertising-sync-sample: Bluetooth: Periodic Advertising Synchronization ############################################### Overview ******** A simple application demonstrating the BLE Periodic Advertising Synchronization functionality. Requirements ************ * A board wi...
/content/code_sandbox/samples/bluetooth/periodic_sync/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
144
```unknown # # # mainmenu "Bluetooth: Periodic Advertising Sync" config PER_ADV_NAME string "Target Periodic Advertising Name" default "" help Name of target advertising for Periodic Advertising Synchronization. source "Kconfig.zephyr" ```
/content/code_sandbox/samples/bluetooth/periodic_sync/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
51
```unknown CONFIG_BT=y CONFIG_BT_OBSERVER=y CONFIG_BT_EXT_ADV=y CONFIG_BT_PER_ADV_SYNC=y CONFIG_LOG=y CONFIG_BT_DEVICE_NAME="Test Periodic Advertising Sync" ```
/content/code_sandbox/samples/bluetooth/periodic_sync/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
39
```yaml sample: name: Bluetooth Periodic Advertising Synchronization tests: sample.bluetooth.periodic_sync: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf52_bsim - nrf52dk/nrf52832 tags: bluetooth integration_platforms: - qemu_cortex_m3 ```
/content/code_sandbox/samples/bluetooth/periodic_sync/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
82
```unknown # Zephyr Bluetooth Controller CONFIG_BT_LL_SW_SPLIT=y # Zephyr Bluetooth LE Controller needs 16 event buffers to generate Extended # Advertising Report for receiving the complete 1650 bytes of data CONFIG_BT_BUF_EVT_RX_COUNT=16 # Set maximum scan data length for Extended Scanning in Bluetooth LE Controller...
/content/code_sandbox/samples/bluetooth/central_iso/overlay-bt_ll_sw_split.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
305
```restructuredtext .. _bluetooth_central_iso: Bluetooth: Central ISO ###################### Overview ******** This sample demonstrates how to use an isochronous channel as a central. The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous channel to it. Once the isochronous ...
/content/code_sandbox/samples/bluetooth/central_iso/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
404
```unknown CONFIG_BT=y CONFIG_LOG=y CONFIG_BT_ISO_CENTRAL=y ```
/content/code_sandbox/samples/bluetooth/central_iso/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
17
```yaml sample: description: Bluetooth ISO central (client) sample name: Bluetooth ISO central (client) sample tests: sample.bluetooth.central_iso: harness: bluetooth platform_allow: qemu_x86 integration_platforms: - qemu_x86 tags: bluetooth sample.bluetooth.central_iso.bt_ll_sw_split: ...
/content/code_sandbox/samples/bluetooth/central_iso/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
153
```c /* * */ #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/bluetooth/bluetooth.h> #define TIMEOUT_SYNC_CREATE K_SECONDS(10) #define NAME_LEN 30 static bool per_adv_found; static bt_addr_le_t per_addr; static uint32_t per_adv_inter...
/content/code_sandbox/samples/bluetooth/periodic_sync/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,096
```unknown CONFIG_BT_CTLR_SYNC_ISO=y CONFIG_BT_CTLR_SYNC_ISO_PDU_LEN_MAX=251 CONFIG_BT_CTLR_SYNC_ISO_STREAM_MAX=2 CONFIG_BT_CTLR_ISOAL_SINKS=2 ```
/content/code_sandbox/samples/bluetooth/iso_receive/overlay-bt_ll_sw_split.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
45
```restructuredtext .. _bluetooth-iso-receive-sample: Bluetooth: Synchronized Receiver ############################################### Overview ******** A simple application demonstrating the Bluetooth Low Energy Synchronized Receiver functionality. Requirements ************ * BlueZ running on the host, or * A boa...
/content/code_sandbox/samples/bluetooth/iso_receive/README.rst
restructuredtext
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
217
```unknown source "Kconfig.zephyr" mainmenu "Bluetooth: ISO Receive" config ISO_PRINT_INTERVAL int "Interval between each packet report" range 1 360000 default 1 help Only print the packet report once in a given interval of ISO packets. config ISO_ALIGN_PRINT_INTERVALS bool "Align report interval with incom...
/content/code_sandbox/samples/bluetooth/iso_receive/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
115
```unknown CONFIG_BT=y CONFIG_BT_ISO_SYNC_RECEIVER=y CONFIG_LOG=y CONFIG_BT_DEVICE_NAME="Test ISO Receive" CONFIG_BT_ISO_MAX_CHAN=2 ```
/content/code_sandbox/samples/bluetooth/iso_receive/prj.conf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
34
```c /* * */ #include <zephyr/types.h> #include <stddef.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/sys/printk.h> #include <zephyr/bluetooth/bluetooth.h> #include <zephyr/bluetooth/hci.h> #include <zephyr/bluetooth/conn.h> #include <zephyr/bluetooth/uuid.h> #include <zephyr/bluetooth/gatt.h> #...
/content/code_sandbox/samples/bluetooth/central_iso/src/main.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,730
```yaml sample: name: Bluetooth Synchronized Receiver tests: sample.bluetooth.iso_receive: harness: bluetooth platform_allow: - qemu_cortex_m3 - qemu_x86 - nrf52_bsim - nrf52dk/nrf52832 integration_platforms: - qemu_cortex_m3 tags: bluetooth sample.bluetooth.iso_recei...
/content/code_sandbox/samples/bluetooth/iso_receive/sample.yaml
yaml
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
168