/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_scan_internal.h | 2 * Copyright (c) 2018-2019 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 15 /* Convert period in 1.28 s units to duration of 10 ms units*/ 16 #define ULL_SCAN_PERIOD_TO_DURATION(period) \ argument 17 ((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 25 /* Convert period in 1.28 s unit to radio events count */ 26 #define ULL_SCAN_PERIOD_TO_EVENTS(period, interval) \ argument 27 (((uint32_t)(period) * EXT_SCAN_PERIOD_UNIT_US / \ 33 /* Set scan parameters */ 39 uint8_t ull_scan_enable(struct ll_scan_set *scan); [all …]
|
D | ull_scan.c | 2 * Copyright (c) 2016-2019 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 62 #define IS_PHY_ENABLED(scan_ctx, scan_phy) ((scan_ctx)->lll.phy & (scan_phy)) 65 uint16_t period, struct ll_scan_set **scan, 67 static uint8_t duration_period_setup(struct ll_scan_set *scan, 68 uint16_t duration, uint16_t period, 70 static uint8_t duration_period_update(struct ll_scan_set *scan, 86 struct ll_scan_set *scan; in ll_scan_params_set() local 89 scan = ull_scan_is_disabled_get(SCAN_HANDLE_1M); in ll_scan_params_set() 90 if (!scan) { in ll_scan_params_set() [all …]
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 test_kbd_scan: test-kbd-scan { 9 compatible = "test-kbd-scan"; 10 row-size = <3>; 11 col-size = <3>; 12 poll-period-ms = <5>; 13 debounce-down-ms = <40>; 14 debounce-up-ms = <80>; 15 poll-timeout-ms = <500>;
|
/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/dts/bindings/sensor/ |
D | ite,it8xxx2-vcmp.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ite,it8xxx2-vcmp" 8 include: sensor-device.yaml 17 vcmp-ch: 22 scan-period: 26 Select the scan interval for all comparator channel. 27 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for 28 pre-defined values. 36 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for 37 pre-defined values. [all …]
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "Raw scan results" 7 This option enables raw scan results. When enabled, the raw scan 15 int "Maximum length of raw scan results" 18 This option defines the maximum length of raw scan results. 21 bool "Only raw scan results" 23 This option enables only raw scan results. When enabled, the raw scan 25 The scan results are not parsed and the application is responsible 26 for parsing the scan results. Normal scan results are not provided 39 even when it is awake intervals. Rejecting TWT setup till Wi-Fi [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | it8xxx2_vcmp.h | 4 * SPDX-License-Identifier: Apache-2.0 25 * @name it8xxx2 voltage comparator scan period for "all comparator channel"
|
/Zephyr-latest/dts/bindings/display/ |
D | solomon,ssd1306fb-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 include: display-controller.yaml 7 segment-offset: 10 description: 8-bit column start address for Page Addressing Mode 12 page-offset: 17 display-offset: 22 multiplex-ratio: 27 segment-remap: 31 com-invdir: 33 description: Scan direction is from last COM output to first COM output [all …]
|
/Zephyr-latest/samples/drivers/kscan/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 26 /* Fujitsu keyboard model N860-7401-TOO1 */ 29 /*+---------------------------------------------------------------+ */ 30 /*| | Capslk| | 1! | Tab | F1 | `~ | | Scan 0 */ 32 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 33 /*| | W | Q | F7 | | Esc | F6 | F5 | Scan 1 */ 35 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 36 /*| | F8 | | 2@ | F4 | F3 | | F2 | Scan 2 */ 38 /*|-------+-------+-------+-------+-------+-------+-------+-------| */ 39 /*| | R | E | 3# | 4$ | C | F | V | Scan 3 */ [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_nrf5.h | 1 /* ieee802154_nrf5.h - nRF5 802.15.4 driver */ 4 * Copyright (c) 2017-2023 Nordic Semiconductor ASA 6 * SPDX-License-Identifier: Apache-2.0 76 /* Callback handler of the currently ongoing energy scan. 77 * It shall be NULL if energy scan is not in progress. 104 /* The last configured value of CSL period in units of 10 symbols. */
|
/Zephyr-latest/tests/bsim/bluetooth/host/scan/slow/src/ |
D | dut.c | 2 * SPDX-License-Identifier: Apache-2.0 25 k_msleep(500); /* simulate a slow memcpy (or user processing the scan data) */ in device_found() 29 ad->len); in device_found() 43 * when we get every advertising report. This sleep period simulates a in entrypoint_dut() 54 * https://github.com/zephyrproject-rtos/zephyr/issues/78223 in entrypoint_dut() 57 * - `dut`: active-scans with privacy ON in entrypoint_dut() 58 * - `peer`: bog-standard advertiser in entrypoint_dut() 61 * - dut is able to run for a long enough time without triggering asserts in entrypoint_dut()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/dut/src/ |
D | dut.c | 4 * SPDX-License-Identifier: Apache-2.0 16 #include "testlib/scan.h" 43 TEST_ASSERT(params->value_handle == GATT_HANDLE, in received_notification() 45 GATT_HANDLE, params->value_handle); in received_notification() 64 * `bt_gatt_resubscribe()` doesn't send anything on-air and just does the 78 /* Doesn't matter for re-subscribe. */ in fake_subscribe() 114 * - `peer`: sends long GATT notifications in entrypoint_dut() 115 * - `dut`: receives long notifications from `peer` in entrypoint_dut() 118 * fragmented on-air over a long period. That mostly means smallest data in entrypoint_dut() 121 * We try to disconnect when a PDU is mid-reassembly. This is slightly in entrypoint_dut() [all …]
|
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/ |
D | vcmp_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/devicetree/io-channels.h> 14 #include <zephyr/dt-bindings/dt-util.h> 15 #include <zephyr/dt-bindings/sensor/it8xxx2_vcmp.h> 37 /* Voltage comparator scan period register */ 51 /* Scan period for "all voltage comparator channel" */ 89 const struct vcmp_it8xxx2_config *const config = dev->config; in clear_vcmp_status() 90 volatile uint8_t *reg_vcmpsts = config->reg_vcmpsts; in clear_vcmp_status() 91 volatile uint8_t *reg_vcmpsts2 = config->reg_vcmpsts2; in clear_vcmp_status() 97 *reg_vcmpsts2 = BIT(vcmp_ch - VCMP_CHANNEL_3); in clear_vcmp_status() [all …]
|
/Zephyr-latest/drivers/wifi/nxp/ |
D | Kconfig.nxp | 1 # 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/boards/ite/it82xx2_evb/ |
D | it82xx2_evb.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <ite/it8xxx2-pinctrl-map.dtsi> 13 model = "IT82XX2 EV-Board"; 14 compatible = "ite,it82xx2-evb"; 17 i2c-0 = &i2c0; 18 peci-0 = &peci0; 22 pwm-0 = &pwm0; 27 zephyr,shell-uart = &uart1; [all …]
|
/Zephyr-latest/boards/ite/it8xxx2_evb/ |
D | it8xxx2_evb.dts | 3 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <ite/it8xxx2-pinctrl-map.dtsi> 13 model = "IT8XXX2 EV-Board"; 14 compatible = "ite,it8xxx2-evb"; 17 i2c-0 = &i2c0; 18 peci-0 = &peci0; 22 pwm-0 = &pwm0; 27 zephyr,shell-uart = &uart1; [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 …]
|
D | ieee802154_radio.h | 5 * SPDX-License-Identifier: Apache-2.0 12 * @note All references to the standard in this file cite IEEE 802.15.4-2020. 38 * @details This API provides a common representation of vendor-specific 44 * - a basic, mostly PHY-level driver API to be implemented by all drivers, 45 * - several optional MAC-level extension points to offload performance 51 * offloading to vendor-specific hardware or firmware features may be required 56 * Whether or not MAC-level offloading extension points need to be implemented 60 * @note All section, table and figure references are to the IEEE 802.15.4-2020 67 * @name IEEE 802.15.4-2020, Section 6: MAC functional description 72 * The symbol period (and therefore symbol rate) is defined in section 6.1: "Some [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 169 * next rotation period. 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 [all …]
|
D | conn.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 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. */ 271 /** 150ns time-of-flight accuracy. */ [all …]
|
/Zephyr-latest/drivers/sensor/sx9500/ |
D | sx9500.c | 1 /* sensor_sx9500.c - Driver for Semtech SX9500 SAR proximity chip */ 6 * SPDX-License-Identifier: Apache-2.0 28 * auto-increments the address for subsequent values in a single 35 0x40, /* Doze enabled, 2x scan period doze, no raw filter. */ 51 struct sx9500_data *data = dev->data; in sx9500_sample_fetch() 52 const struct sx9500_config *cfg = dev->config; in sx9500_sample_fetch() 56 return i2c_reg_read_byte_dt(&cfg->i2c, SX9500_REG_STAT, &data->prox_stat); in sx9500_sample_fetch() 63 struct sx9500_data *data = (struct sx9500_data *) dev->data; in sx9500_channel_get() 68 return -ENOTSUP; in sx9500_channel_get() 71 val->val1 = !!(data->prox_stat & in sx9500_channel_get() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_suspend.c | 4 * SPDX-License-Identifier: Apache-2.0 54 model->pub->msg->data[1]++; in model_1_update() 55 LOG_DBG("Model 1 publishing..., n: %d", model->pub->msg->data[1]); in model_1_update() 150 bt_mesh_model_msg_init(model->pub->msg, TEST_MESSAGE_OP); in model_1_init() 151 net_buf_simple_add_u8(model->pub->msg, 1); in model_1_init() 176 err = bt_mesh_cfg_cli_mod_app_bind(0, pcfg->addr, pcfg->addr, 0, model_id, &status); in provision_and_configure() 188 .period = BT_MESH_PUB_PERIOD_SEC(1), 193 /* For legacy adv, pb-gatt advs are sent with a 1000ms interval. For ext adv, they are sent 244 LOG_DBG("rx completed, stopping scan..."); in gatt_scan_cb() 259 ASSERT_EQUAL(buf->len, length); in suspend_state_change_cb() [all …]
|
/Zephyr-latest/drivers/input/ |
D | input_kbd_matrix.c | 6 * SPDX-License-Identifier: Apache-2.0 24 struct input_kbd_matrix_common_data *data = dev->data; in input_kbd_matrix_poll_start() 26 k_sem_give(&data->poll_lock); in input_kbd_matrix_poll_start() 31 const struct input_kbd_matrix_common_config *cfg = dev->config; in input_kbd_matrix_ghosting() 32 const kbd_row_t *state = cfg->matrix_new_state; in input_kbd_matrix_ghosting() 48 for (int c = 0; c < cfg->col_size; c++) { in input_kbd_matrix_ghosting() 53 for (int c_next = c + 1; c_next < cfg->col_size; c_next++) { in input_kbd_matrix_ghosting() 60 * using z&(z-1) which is non-zero only if z has more in input_kbd_matrix_ghosting() 65 if (common_row_bits & (common_row_bits - 1)) { in input_kbd_matrix_ghosting() 76 const struct input_kbd_matrix_common_config *cfg = dev->config; in input_kbd_matrix_drive_column() [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 …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 17 #io-channel-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 gpio-controller; 34 #gpio-cells = <0x2>; [all …]
|