Home
last modified time | relevance | path

Searched +full:channel +full:- +full:gap (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-latest/dts/bindings/dma/
Dnxp,mcux-edma.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,mcux-edma"
8 include: dma-controller.yaml
20 dma-channels:
23 dma-requests:
26 dmamux-reg-offset:
30 The offset value for obtaining DMAMUX register index from DMAMUX channel.
31 Default value means DMAMUX channel is identical with DMAMUX register index
33 channel-gap:
36 On some platforms, there may be a gap in the channels and
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/
Dbluetooth-le-host.rst6 The Bluetooth Host implements all the higher-level protocols and
7 profiles, and most importantly, provides a high-level API for
17 Lowest down in the host stack sits a so-called HCI driver, which is
20 host, and vice-versa.
23 Access Profile (GAP). GAP simplifies Bluetooth LE access by defining
26 * Connection-oriented roles
32 * Connection-less roles
38 Each role comes with its own build-time configuration option:
41 connection-oriented roles central implicitly enables observer role, and
52 Most Zephyr-based BLE devices will most likely be peripheral-role
[all …]
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dclassic.h6 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
33 * @brief Generic Access Profile (GAP)
34 * @defgroup bt_gap Generic Access Profile (GAP)
75 * Valid range is 0x01 - 0x30.
95 * @param count Number of results in storage. Valid range: 1-255.
174 * Allows make local controller to listen on INQUIRY SCAN channel and responds
189 * start listen to devices requests on PAGE SCAN channel. If disabled also
Da2dp.h6 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
70 * @param _ch_mode sbc codec channel mode.
100 * @param _ch_mode sbc codec channel mode.
166 * @param _ch_mode_cfg sbc codec channel mode.
218 /** Channel Mode is not valid or multiple values have been selected */
220 /** Channel Mode is not supported */
244 /** MPF-2 is not supported */
296 /** Codec MPEG-1 */
298 /** Codec MPEG-2 */
[all …]
/Zephyr-latest/samples/bluetooth/iso_broadcast/src/
Dmain.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/bluetooth/gap.h>
34 printk("ISO Channel %p connected\n", chan); in iso_connected()
43 printk("ISO Channel %p disconnected with reason 0x%02x\n", in iso_disconnected()
84 .packing = 0, /* 0 - sequential, 1 - interleaved */
85 .framing = 0, /* 0 - unframed, 1 - framed */
89 BT_DATA(BT_DATA_NAME_COMPLETE, CONFIG_BT_DEVICE_NAME, sizeof(CONFIG_BT_DEVICE_NAME) - 1),
96 * required to place the AUX_ADV_IND PDUs in a non-overlapping interval with the in main()
98 * For 10ms SDU interval a extended advertising interval of 60 - 10 = 50 is suitable in main()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/
Dbis_receiver.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/bluetooth/gap.h>
37 /** Log data as d_0 d_1 d_2 ... d_(n-2) d_(n-1) d_(n) to show the 3 first and 3 last octets
66 str_len += bin2hex(data + (data_len - MIN(max_octets, data_len - max_octets)), in iso_log_data()
67 MIN(max_octets, data_len - max_octets), data_str + str_len, in iso_log_data()
68 sizeof(data_str) - str_len); in iso_log_data()
77 if (info->flags & BT_ISO_FLAGS_VALID) { in iso_recv()
78 LOG_DBG("Incoming data channel %p len %u", chan, buf->len); in iso_recv()
79 iso_log_data(buf->data, buf->len); in iso_recv()
86 LOG_INF("ISO Channel %p connected", chan); in iso_connected()
[all …]
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/bluetooth/gap.h>
114 if (rssi < -50) { in device_found()
145 printk("ISO Channel %p connected\n", chan); in iso_connected()
155 printk("ISO Channel %p disconnected (reason 0x%02x)\n", chan, reason); in iso_disconnected()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcommon.c3 * Copyright (c) 2020-2021 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
16 #include <zephyr/bluetooth/gap.h>
55 if ((info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) == 0) { in device_found()
59 bt_addr_le_to_str(info->addr, addr_str, sizeof(addr_str)); in device_found()
60 printk("Device found: %s (RSSI %d)\n", addr_str, info->rssi); in device_found()
63 if (info->rssi < -70) { in device_found()
74 err = bt_conn_le_create(info->addr, BT_CONN_LE_CREATE_CONN, BT_LE_CONN_PARAM_DEFAULT, in device_found()
195 * @brief Get the channel id based on remote device ID
197 * The is effectively a very simple hashing function to generate unique channel IDs from device IDs
[all …]
Dbap_broadcast_source_test.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
20 #include <zephyr/bluetooth/gap.h>
61 const struct bt_audio_codec_cfg *codec_cfg = stream->codec_cfg; in validate_stream_codec_cfg()
105 /* The broadcast source sets the channel allocation in the BIS to in validate_stream_codec_cfg()
111 FAIL("Unexpected channel allocation: 0x%08X", chan_allocation); in validate_stream_codec_cfg()
118 FAIL("Could not get subgroup channel allocation: %d\n", ret); in validate_stream_codec_cfg()
123 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in validate_stream_codec_cfg()
124 FAIL("Unsupported channel count: %u\n", chan_cnt); in validate_stream_codec_cfg()
154 /* An SDU can consist of X frame blocks, each with Y frames (one per channel) of size Z in in validate_stream_codec_cfg()
[all …]
Dbap_broadcast_sink_test.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
22 #include <zephyr/bluetooth/gap.h>
147 FAIL("Could not get subgroup channel allocation: %d\n", ret); in valid_base_subgroup()
152 if (chan_cnt == 0 || (BIT(chan_cnt - 1) & SUPPORTED_CHAN_COUNTS) == 0) { in valid_base_subgroup()
153 printk("Unsupported channel count: %u\n", chan_cnt); in valid_base_subgroup()
183 /* An SDU can consist of X frame blocks, each with Y frames (one per channel) of size Z in in valid_base_subgroup()
258 sink, biginfo->encryption ? "" : "out"); in syncable_cb()
293 /* no-op*/ in scan_check_and_sync_broadcast()
297 if (data->type != BT_DATA_SVC_DATA16) { in scan_check_and_sync_broadcast()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h7 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
26 #include <zephyr/bluetooth/gap.h>
36 * @brief Generic Access Profile (GAP)
37 * @defgroup bt_gap Generic Access Profile (GAP)
162 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging
163 * to same adv id returns false, then adv-sets will continue with old rpa
242 * That is, the application shall not re-register them when
243 * the Bluetooth subsystem is re-enabled later.
261 * Set Bluetooth GAP Device Name.
[all …]
Dcs.h2 * @brief Bluetooth Channel Sounding handling
8 * SPDX-License-Identifier: Apache-2.0
14 * @brief LE Channel Sounding (CS)
15 * @defgroup bt_le_cs Channel Sounding (CS)
31 * @brief Macro for getting a specific channel bit in CS channel map
33 * @param[in] chmap Channel map array
41 * @brief Macro for setting a specific channel bit value in CS channel map
43 * @param[in] chmap Channel map array
112 /** Applicable for mode-2 and mode-3 only:
115 * - @ref BT_LE_CS_TEST_OVERRIDE_3_NO_TONE_EXT
[all …]
Dconn.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
26 #include <zephyr/bluetooth/gap.h>
73 * Connection Interval: 30-50 ms
208 * after a packet containing a Link Layer PDU with a non-zero Length
224 * a packet containing a Link Layer PDU with a non-zero Length
240 * a packet containing a Link Layer PDU with a non-zero Length
265 /** Supported AA-Only RTT precision. */
267 /** AA-Only RTT variant is not supported. */
269 /** 10ns time-of-flight accuracy. */
[all …]
/Zephyr-latest/drivers/dma/
Ddma_mcux_edma.c2 * Copyright 2020-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
117 ((const struct dma_mcux_edma_config *const)dev->config)
118 #define DEV_DATA(dev) ((struct dma_mcux_edma_data *)dev->data)
119 #define DEV_BASE(dev) ((DMA_Type *)DEV_CFG(dev)->base)
122 ((struct call_back *)(&(DEV_DATA(dev)->data_cb[ch])))
125 ((edma_handle_t *)(&(DEV_CHANNEL_DATA(dev, ch)->edma_handle)))
128 #define DEV_DMAMUX_BASE(dev, idx) ((DMAMUX_Type *)DEV_CFG(dev)->dmamux_base[idx])
129 #define DEV_DMAMUX_IDX(dev, ch) (ch / DEV_CFG(dev)->channels_per_mux)
132 (ch % DEV_CFG(dev)->channels_per_mux) ^ (DEV_CFG(dev)->dmamux_reg_offset)
[all …]
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/bluetooth/gap.h>
103 switch (data->type) { in data_cb()
106 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb()
134 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
138 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
139 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
140 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
141 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
[all …]
/Zephyr-latest/dts/arm/nxp/
Dnxp_s32k344_m7.dtsi2 * Copyright 2023-2024 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv7-m.dtsi>
9 #include <zephyr/dt-bindings/clock/nxp_s32k344_clock.h>
10 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #address-cells = <1>;
15 #size-cells = <0>;
19 compatible = "arm,cortex-m7";
25 compatible = "arm,cortex-m7";
30 compatible = "arm,armv7m-mpu";
[all …]
/Zephyr-latest/include/zephyr/net/
Dwifi_mgmt.h6 * SPDX-License-Identifier: Apache-2.0
66 /** @brief Wi-Fi management commands */
68 /** Scan for Wi-Fi networks */
70 /** Connect to a Wi-Fi network */
72 /** Disconnect from a Wi-Fi network */
100 /** Set or get Wi-Fi channel for Monitor or TX-Injection mode */
104 /** Get Wi-Fi driver and Firmware versions */
106 /** Get Wi-Fi latest connection parameters */
143 /** Request a Wi-Fi scan */
149 /** Request a Wi-Fi connect */
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br.c1 /* l2cap_br.c - L2CAP BREDR oriented handling */
6 * SPDX-License-Identifier: Apache-2.0
58 * BR/EDR fixed channel support enabled
69 /* Signaling channel flags */
84 /* BR/EDR L2CAP signalling channel specific context */
86 /* The channel this context is associated with */
90 * 2.1 CHANNEL IDENTIFIERS in
107 SYS_SLIST_FOR_EACH_CONTAINER(&conn->channels, chan, node) { in bt_l2cap_br_lookup_rx_cid()
108 if (BR_CHAN(chan)->rx.cid == cid) { in bt_l2cap_br_lookup_rx_cid()
121 SYS_SLIST_FOR_EACH_CONTAINER(&conn->channels, chan, node) { in bt_l2cap_br_lookup_tx_cid()
[all …]
/Zephyr-latest/drivers/wifi/nxp/
DKconfig.nxp1 # Copyright 2022-2024 NXP
2 # SPDX-License-Identifier: Apache-2.0
5 bool "NXP Wi-Fi driver support"
14 Enable NXP SoC Wi-Fi support.
28 bool "Custom NXP Wi-Fi part"
30 Customize NXP Wi-Fi chip support.
33 prompt "Select NXP Wi-Fi part"
36 Choose NXP Wi-Fi chip support.
39 bool "NXP RW610-based Chipset"
44 Select this option if you have a NXP RW610-based
[all …]
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
8 * SPDX-License-Identifier: Apache-2.0
25 #include <zephyr/bluetooth/gap.h>
58 while (len-- != 0) { in print_hex()
67 printk("%s: type 0x%02x value_len %u\n", str, data->type, data->data_len); in print_cb()
68 print_hex(data->data, data->data_len); in print_cb()
76 printk("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u\n", codec_cfg->id, codec_cfg->cid, in print_codec_cfg()
77 codec_cfg->vid, codec_cfg->data_len); in print_codec_cfg()
79 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in print_codec_cfg()
83 /* LC3 uses the generic LTV format - other codecs might do as well */ in print_codec_cfg()
[all …]
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c2 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
21 #include <zephyr/bluetooth/gap.h>
171 NULL, NULL, NULL, LC3_ENCODER_PRIORITY, 0, -1);
195 const uint8_t frames_blocks_per_sdu = stream->lc3_frames_blocks_per_sdu; in lc3_decoder_thread()
196 const uint16_t octets_per_frame = stream->lc3_octets_per_frame; in lc3_decoder_thread()
200 k_mutex_lock(&stream->lc3_decoder_mutex, K_FOREVER); in lc3_decoder_thread()
202 if (stream->in_buf == NULL) { in lc3_decoder_thread()
203 k_mutex_unlock(&stream->lc3_decoder_mutex); in lc3_decoder_thread()
208 buf = net_buf_ref(stream->in_buf); in lc3_decoder_thread()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.2.rst18 * Fix CVE-2020-10028
19 * Fix CVE-2020-10060
20 * Fix CVE-2020-10063
21 * Fix CVE-2020-10066
32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa…
33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or …
34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection…
[all …]
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dbroadcaster.c2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/bluetooth/gap.h>
57 .packing = DEFAULT_BIS_PACKING, /* 0 - sequential, 1 - interleaved */
58 .framing = DEFAULT_BIS_FRAMING, /* 0 - unframed, 1 - framed */
69 BT_DATA(BT_DATA_NAME_COMPLETE, CONFIG_BT_DEVICE_NAME, sizeof(CONFIG_BT_DEVICE_NAME) - 1),
74 LOG_INF("ISO Channel %p connected", chan); in iso_connected()
85 LOG_INF("ISO Channel %p disconnected with reason 0x%02x", in iso_disconnected()
88 connected_bis--; in iso_disconnected()
144 char_count = get_chars(buffer, sizeof(buffer) - 1); in parse_rtn_arg()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_adv.c2 * Copyright (c) 2016-2021 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
139 adv->hci_handle = 0; in ll_adv_cmds_set()
141 adv->is_created = 1; in ll_adv_cmds_set()
146 return -EINVAL; in ll_adv_cmds_set()
167 if (adv->is_created && (adv->hci_handle == hci_handle)) { in ll_adv_set_by_hci_handle_get()
185 if (adv->is_created) { in ll_adv_set_by_hci_handle_get_or_new()
186 if (adv->hci_handle == hci_handle) { in ll_adv_set_by_hci_handle_get_or_new()
196 adv_empty->hci_handle = hci_handle; in ll_adv_set_by_hci_handle_get_or_new()
209 LL_ASSERT(adv && adv->is_created); in ll_adv_set_hci_handle_get()
[all …]

12