Home
last modified time | relevance | path

Searched +full:scan +full:- +full:limit (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/dts/bindings/display/
Dmaxim,max7219.yaml2 # 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/
Dmax7219_8x8.overlay3 * 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/
DKconfig.nrfwifi1 # Nordic Wi-Fi driver for nRF70 series SoCs
5 # SPDX-License-Identifier: Apache-2.0
21 Nordic Wi-Fi Driver
49 bool "nRF70 scan only mode"
51 Select this option to enable scan only mode of the nRF70 driver
114 bool "Wi-Fi interface auto start on boot"
135 bool "Low power mode in nRF Wi-Fi chipsets"
160 module-dep = LOG
161 module-str = Log level for Wi-Fi nRF70 driver
162 module-help = Sets log level for Wi-Fi nRF70 driver
[all …]
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_mgmt_scan.c4 * 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/
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 */
132 /** Specific scan */
141 /** Request a Wi-Fi scan */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
146 bool "Software-based Bluetooth LE Link Layer"
185 compliant with FIPS PUB 140-2.
191 A Controller implementation could also provide custom bare-metal
208 FIPS-197 compliant cryptographic implementations. In this case the
217 User-defined string that will be returned by the Zephyr VS Read Build
224 int "Number of addresses in the scan duplicate filter"
233 int "Number of Extended Advertising Sets in the scan duplicate filter"
260 controller. Number of required RX buffers would worst-case be
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h7 * Copyright (c) 2015-2016 Intel Corporation
9 * SPDX-License-Identifier: Apache-2.0
163 * @brief The advertising set has sent scan response data.
166 * has received a Scan Request packet, and has sent a Scan Response
183 * If rpa sharing is enabled and rpa expired cb of any adv-sets belonging
184 * to same adv id returns false, then adv-sets will continue with old rpa
263 * That is, the application shall not re-register them when
264 * the Bluetooth subsystem is re-enabled later.
313 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf
346 * subsequent call to this function with non-NULL @a addrs parameter.
[all …]
Duuid.h6 * 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/doc/contribute/style/
Dcmake.rst3 .. _cmake-style:
11 - **Indentation**: Use **2 spaces** for indentation. Avoid tabs to ensure
13 - **Line Length**: Limit line length to **100 characters** where possible.
14 - **Empty Lines**: Use empty lines to separate logically distinct sections
16 - **No Space Before Opening Brackets**: Do not add a space between a command
20 .. code-block:: cmake
35 - **Lowercase Commands**: Always use **lowercase** CMake commands (e.g.,
39 .. code-block:: cmake
47 - **One File Argument per Line**: Break the file arguments across multiple
48 lines to make it easier to scan and identify each source file or item.
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_shell.c4 * SPDX-License-Identifier: Apache-2.0
31 length -= 1; in get_bytes_count_for_hex()
48 * https://manpages.debian.org/buster/i2c-tools/i2cdetect.8.en.html
50 /* i2c scan <device> */
62 return -ENODEV; in cmd_i2c_scan()
87 shell_fprintf(shell_ctx, SHELL_NORMAL, "-- "); in cmd_i2c_scan()
110 return -ENODEV; in cmd_i2c_recover()
131 uint8_t buf[MAX_I2C_BYTES + MAX_BYTES_FOR_REGISTER_INDEX - 1]; in i2c_write_from_buffer()
143 return -ENODEV; in i2c_write_from_buffer()
153 data_length = MAX_I2C_BYTES - reg_addr_bytes; in i2c_write_from_buffer()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync.c2 * 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.param = NULL; in ll_sync_create()
[all …]
Dull.c2 * 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 …]
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 …]
/Zephyr-latest/drivers/wifi/esp32/
DKconfig.esp3228 Make sure there is a minimal heap available for Wi-Fi driver.
31 prompt "Wi-Fi adapter heap memory"
35 bool "Wi-Fi adapter use kernel mempool heap (k_malloc)"
56 bool "Activates the Station/AP co-existence mode."
68 bool "Scan all available APs when connecting in station mode"
70 When connecting in station mode, scan all channels and connect to the channel with the
71 highest RSSI. Without this, a fast scan is performed which connects to the first AP
110 RX buffer number is unlimited (0). If a dynamic RX buffer limit is set,
120 initialized and released when WiFi is de-initialized. The size of each
197 when WiFi is de-initialized. The size of each static RX MGMT buffer is fixed to about 500 Bytes.
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/
Dmain.c2 * 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/
Dbt.c11 * SPDX-License-Identifier: Apache-2.0
127 "non-resolvable"; in print_le_addr()
231 bt_shell_print("Scan timeout"); in active_scan_timeout()
235 bt_shell_error("Failed to stop scan (err %d)", err); in active_scan_timeout()
312 switch (data->type) { in data_cb()
316 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb()
333 for (int16_t i = len - 1; i >= 0; i--) { in print_data_hex()
358 print_data_hex(&scan_data[idx], scan_data_len - idx, SHELL_WARNING); in print_data_set()
365 (int)strlen(scan_response_label), "", data->type); in data_verbose_cb()
367 switch (data->type) { in data_verbose_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig4 # 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
239 bool "PB-ADV support"
301 bool "PB-GATT Server support"
311 bool "Include Bluetooth device name in scan response"
315 This option includes GAP device name in scan response when
316 the PB-GATT is enabled.
319 bool "PB-GATT Client support"
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_max7219.c4 * 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/subsys/bluetooth/host/classic/
Dbr.c2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
3 * Copyright (c) 2015-2016 Intel Corporation
5 * SPDX-License-Identifier: Apache-2.0
40 return -ENOBUFS; in reject_conn()
44 bt_addr_copy(&cp->bdaddr, bdaddr); in reject_conn()
45 cp->reason = reason; in reject_conn()
63 return -ENOBUFS; in accept_conn()
67 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_conn()
68 cp->role = BT_HCI_ROLE_PERIPHERAL; in accept_conn()
80 struct bt_hci_evt_conn_request *evt = (void *)buf->data; in bt_hci_conn_req()
[all …]
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay4 * 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/
Dtest_plan.py2 # 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/
Dzephyr_img_mgmt.c2 * 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/
Dbtp_bap_broadcast.c1 /* btp_bap_broadcast.c - Bluetooth BAP Tester */
7 * SPDX-License-Identifier: Apache-2.0
53 return &stream->audio_stream.cap_stream.bap_stream; in stream_broadcast_to_bap()
88 return -EINVAL; in btp_bap_broadcast_local_source_free()
129 if (broadcaster->broadcast_id == BT_BAP_INVALID_BROADCAST_ID) { in remote_broadcaster_alloc()
143 if (broadcaster->broadcast_id == broadcast_id && in remote_broadcaster_find()
144 bt_addr_le_cmp(addr, &broadcaster->address) == 0) { in remote_broadcaster_find()
158 if (broadcaster->sink == sink) { in remote_broadcaster_find_by_sink()
189 err = btp_bap_audio_stream_tx_register(&b_stream->audio_stream); in stream_started()
194 b_stream->bis_synced = true; in stream_started()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.0.rst22 * 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 …]
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 …]

12