/Zephyr-latest/dts/bindings/display/ |
D | maxim,max7219.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 include: spi-device.yaml 12 scan-limit: 16 - 0 17 - 1 18 - 2 19 - 3 20 - 4 21 - 5 22 - 6 [all …]
|
/Zephyr-latest/boards/shields/max7219/ |
D | max7219_8x8.overlay | 3 * SPDX-License-Identifier: Apache-2.0 18 spi-max-frequency = <1000000>; 19 num-cascading = <1>; 21 scan-limit = <7>;
|
/Zephyr-latest/drivers/wifi/nrf_wifi/ |
D | Kconfig.nrfwifi | 1 # Nordic Wi-Fi driver for nRF70 series SoCs 5 # SPDX-License-Identifier: Apache-2.0 21 Nordic Wi-Fi Driver 58 bool "nRF70 scan only mode" 60 Select this option to enable scan only mode of the nRF70 driver 124 bool "Wi-Fi interface auto start on boot" 145 bool "Low power mode in nRF Wi-Fi chipsets" 169 module-dep = LOG 170 module-str = Log level for Wi-Fi nRF70 driver 171 module-help = Sets log level for Wi-Fi nRF70 driver [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 142 bool "Software-based BLE Link Layer" 171 compliant with FIPS PUB 140-2. 177 A Controller implementation could also provide custom bare-metal 194 FIPS-197 compliant cryptographic implementations. In this case the 203 User-defined string that will be returned by the Zephyr VS Read Build 210 int "Number of addresses in the scan duplicate filter" 219 int "Number of Extended Advertising Sets in the scan duplicate filter" 246 controller. Number of required RX buffers would worst-case be [all …]
|
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | wifi_mgmt_scan.c | 4 * SPDX-License-Identifier: Apache-2.0 8 * @brief File containing display scan specific definitions for the 9 * Zephyr OS layer of the Wi-Fi driver. 53 int ret = -1; in nrf_wifi_disp_scan_zep() 55 vif_ctx_zep = dev->data; in nrf_wifi_disp_scan_zep() 62 if (vif_ctx_zep->if_op_state != NRF_WIFI_FMAC_IF_OP_STATE_UP) { in nrf_wifi_disp_scan_zep() 67 rpu_ctx_zep = vif_ctx_zep->rpu_ctx_zep; in nrf_wifi_disp_scan_zep() 73 k_mutex_lock(&vif_ctx_zep->vif_lock, K_FOREVER); in nrf_wifi_disp_scan_zep() 74 if (!rpu_ctx_zep->rpu_ctx) { in nrf_wifi_disp_scan_zep() 79 fmac_dev_ctx = rpu_ctx_zep->rpu_ctx; in nrf_wifi_disp_scan_zep() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_mgmt.h | 6 * 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 */ 134 /** Specific scan */ 143 /** Request a Wi-Fi scan */ [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 142 * @brief The advertising set has sent scan response data. 145 * has received a Scan Request packet, and has sent a Scan Response 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. 292 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf 325 * subsequent call to this function with non-NULL @a addrs parameter. [all …]
|
D | uuid.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 31 /** UUID type 16-bit. */ 33 /** UUID type 32-bit. */ 35 /** UUID type 128-bit. */ 39 /** Size in octets of a 16-bit UUID */ 42 /** Size in octets of a 32-bit UUID */ 45 /** Size in octets of a 128-bit UUID */ 56 /** UUID value, 16-bit in host endianness. */ 63 /** UUID value, 32-bit in host endianness. */ [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_sync.c | 2 * Copyright (c) 2020-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 72 * allocated using mem interface. timeout_reload being non-zero is used to 120 struct ll_scan_set *scan; in ll_sync_create() local 125 scan = ull_scan_set_get(SCAN_HANDLE_1M); in ll_sync_create() 126 if (!scan || scan->periodic.sync) { in ll_sync_create() 132 if (!scan_coded || scan_coded->periodic.sync) { in ll_sync_create() 153 scan->periodic.cancelled = 0U; in ll_sync_create() 154 scan->periodic.state = LL_SYNC_STATE_IDLE; in ll_sync_create() 155 scan->periodic.filter_policy = in ll_sync_create() [all …]
|
D | ull.c | 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 92 #define BT_ADV_TICKER_NODES ((TICKER_ID_ADV_LAST) - (TICKER_ID_ADV_STOP) + 1) 94 #define BT_ADV_AUX_TICKER_NODES ((TICKER_ID_ADV_AUX_LAST) - \ 97 #define BT_ADV_SYNC_TICKER_NODES ((TICKER_ID_ADV_SYNC_LAST) - \ 100 #define BT_ADV_ISO_TICKER_NODES ((TICKER_ID_ADV_ISO_LAST) - \ 122 #define BT_SCAN_TICKER_NODES ((TICKER_ID_SCAN_LAST) - (TICKER_ID_SCAN_STOP) + 1) 127 #define BT_SCAN_AUX_TICKER_NODES ((TICKER_ID_SCAN_AUX_LAST) - \ 131 #define BT_SCAN_SYNC_TICKER_NODES ((TICKER_ID_SCAN_SYNC_LAST) - \ 134 #define BT_SCAN_SYNC_ISO_TICKER_NODES ((TICKER_ID_SCAN_SYNC_ISO_LAST) - \ [all …]
|
D | ull_adv.c | 2 * 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 …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_shell.c | 4 * SPDX-License-Identifier: Apache-2.0 30 length -= 1; in get_bytes_count_for_hex() 47 * https://manpages.debian.org/buster/i2c-tools/i2cdetect.8.en.html 49 /* i2c scan <device> */ 61 return -ENODEV; in cmd_i2c_scan() 86 shell_fprintf(shell_ctx, SHELL_NORMAL, "-- "); in cmd_i2c_scan() 109 return -ENODEV; in cmd_i2c_recover() 130 uint8_t buf[MAX_I2C_BYTES + MAX_BYTES_FOR_REGISTER_INDEX - 1]; in i2c_write_from_buffer() 142 return -ENODEV; in i2c_write_from_buffer() 152 data_length = MAX_I2C_BYTES - reg_addr_bytes; in i2c_write_from_buffer() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | main.c | 2 * SPDX-License-Identifier: Apache-2.0 20 #include "testlib/scan.h" 47 * capacity of the response PDU. I.e. `(ATT_MTU - 1)` for in read_mtu_validation_chrc() 57 /* The second PDU is one-less-than-full to test for off in read_mtu_validation_chrc() 60 read_len -= 1; in read_mtu_validation_chrc() 63 /* If the ATT_MTU is too large, sending a one-less-than-full in read_mtu_validation_chrc() 64 * response would exeed the max attribute length limit. in read_mtu_validation_chrc() 154 * response and the rest is zero-padded. in test_long_read() 166 padding_size = (encoded_len - sizeof(uint16_t)); in test_long_read()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 11 * SPDX-License-Identifier: Apache-2.0 125 "non-resolvable"; in print_le_addr() 229 bt_shell_print("Scan timeout"); in active_scan_timeout() 233 bt_shell_error("Failed to stop scan (err %d)", err); in active_scan_timeout() 310 switch (data->type) { in data_cb() 314 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb() 331 for (int16_t i = len - 1; i >= 0; i--) { in print_data_hex() 356 print_data_hex(&scan_data[idx], scan_data_len - idx, SHELL_WARNING); in print_data_set() 362 bt_shell_fprintf_info("%*sType 0x%02x: ", strlen(scan_response_label), "", data->type); in data_verbose_cb() 364 switch (data->type) { in data_verbose_cb() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 113 bool "Mesh-specific workqueue" 116 mesh-specific workqueue. This will ensure that messages are always sent. 117 The application needs to ensure the mesh-specific workqueue size is large 130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately 237 bool "PB-ADV support" 299 bool "PB-GATT Server support" 309 bool "Include Bluetooth device name in scan response" 313 This option includes GAP device name in scan response when 314 the PB-GATT is enabled. [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | br.c | 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 3 * Copyright (c) 2015-2016 Intel Corporation 5 * SPDX-License-Identifier: Apache-2.0 38 return -ENOBUFS; in reject_conn() 42 bt_addr_copy(&cp->bdaddr, bdaddr); in reject_conn() 43 cp->reason = reason; in reject_conn() 61 return -ENOBUFS; in accept_conn() 65 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_conn() 66 cp->role = BT_HCI_ROLE_PERIPHERAL; in accept_conn() 78 struct bt_hci_evt_conn_request *evt = (void *)buf->data; in bt_hci_conn_req() [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_max7219.c | 4 * SPDX-License-Identifier: Apache-2.0 19 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf 22 * 1. This driver only implements no-decode mode. 38 /* clang-format off */ 59 /* clang-format on */ 76 const struct max7219_config *dev_config = dev->config; in max7219_transmit_all() 77 struct max7219_data *dev_data = dev->data; in max7219_transmit_all() 80 .buf = dev_data->tx_buf, in max7219_transmit_all() 81 .len = dev_config->num_cascading * 2, in max7219_transmit_all() 88 for (int i = 0; i < dev_config->num_cascading; i++) { in max7219_transmit_all() [all …]
|
/Zephyr-latest/tests/drivers/build_all/display/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * with real-world devicetree nodes, to allow these tests to run on 13 #include <zephyr/dt-bindings/led/led.h> 14 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 23 gpio-controller; 25 #gpio-cells = <0x2>; 30 compatible = "zephyr,mipi-dbi-spi"; 32 dc-gpios = <&test_gpio 0 0>; [all …]
|
/Zephyr-latest/scripts/ci/ |
D | test_plan.py | 2 # SPDX-License-Identifier: Apache-2.0 29 # however, pylint complains that it doesn't recognized them when used (used-before-assignment). 70 # return search(). (?:) is a non-capturing group. 139 cmd = [f"{zephyr_base}/scripts/twister", "-c"] + options + ["--save-tests", fname ] 141 cmd += ["--no-detailed-test-id"] 144 cmd+=["-T", root] 146 cmd.append("--integration") 149 cmd += ["--quarantine-list", q] 164 old_manifest_content = repo_to_scan.git.show(f"{args.commits[:-2]}:west.yml") 175 old_projs - new_projs)) [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | zephyr_img_mgmt.c | 2 * Copyright (c) 2018-2021 mcumgr authors 4 * SPDX-License-Identifier: Apache-2.0 57 * @param fa pointer to flash area to scan 72 assert(fa->fa_size % 4 == 0); in img_mgmt_flash_check_empty_inner() 77 end = fa->fa_size; in img_mgmt_flash_check_empty_inner() 79 if (end - addr < sizeof(data)) { in img_mgmt_flash_check_empty_inner() 80 bytes_to_read = end - addr; in img_mgmt_flash_check_empty_inner() 104 * @param fa_id ID of flash area to scan. 172 fa_id = -1; in img_mgmt_flash_area_id() 186 * find any unused and non-active available (auto-select); any other positive [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 1 /* btp_bap_broadcast.c - Bluetooth BAP Tester */ 7 * SPDX-License-Identifier: Apache-2.0 52 return &stream->audio_stream.cap_stream.bap_stream; in stream_broadcast_to_bap() 68 if (broadcaster->broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in remote_broadcaster_alloc() 82 if (broadcaster->broadcast_id == broadcast_id && in remote_broadcaster_find() 83 bt_addr_le_cmp(addr, &broadcaster->address) == 0) { in remote_broadcaster_find() 97 if (broadcaster->sink == sink) { in remote_broadcaster_find_by_sink() 128 err = btp_bap_audio_stream_tx_register(&b_stream->audio_stream); in stream_started() 133 b_stream->bis_synced = true; in stream_started() 134 broadcaster = &remote_broadcast_sources[b_stream->source_id]; in stream_started() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN() 58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been 69 * The following Kconfig options related to radio front-end modules (FEMs) were [all …]
|
D | release-notes-2.2.rst | 18 * 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 …]
|
D | release-notes-1.11.rst | 12 * Thread-level memory protection on x86, ARC and Arm, userspace and memory 15 * Initial Armv8-M architecture support. 20 * Firmware over-the-air (FOTA) updates over BLE using MCUmgr. 32 * SMP-aware scheduler 47 * Armv8-M initial architecture support, including the following cores: 49 * Arm Cortex-M23 50 * Arm Cortex-M33 74 * Refactored dts.fixup so common SoC-related fixes are in arch/<*>/soc 75 and board dts.fixup is only used for board-specific items. 82 * Added I2C master, QSPI flash, and GPIO drivers for nios-II [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | shell.rst | 30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the 43 The simplest way to provision the device is through self-provisioning. To do this the user must 49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision 51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external 68 ``mesh prov local`` command above), we can perform self-configuration through any of the 73 uart:~$ mesh models cfg get-comp 89 uart:~$ mesh test net-send 82020100 120 .. list-table:: Parameter formats 122 :header-rows: 1 124 * - Type [all …]
|