/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_timeout.rst | 3 Network Timeout 13 Zephyr's network infrastructure mostly uses the millisecond-resolution uptime 15 32-bit unsigned values. The 32-bit value rolls over at 49 days 17 hours 2 minutes 18 Timeout processing is often affected by latency, so that the time at which the 19 timeout is checked may be some time after it should have expired. Handling 21 the maximum delay that can be directly represented be a 31-bit non-negative 22 number (``INT32_MAX``), which overflows at 24 days 20 hours 31 minutes 23.648 26 allow for delays that are represented as unsigned 32-bit values counting 27 seconds, which corresponds to a 42-bit millisecond count. 29 The net_timeout API provides a generic timeout mechanism to correctly track [all …]
|
/Zephyr-latest/tests/lib/heap/ |
D | testcase.yaml | 2 # is very slow for CPU-bound tests like this, taking upwards of 10 3 # minutes (vs. ~20 seconds for qemu) to complete in CI. There's 5 # coverage of the RISC-V architectures via qemu platforms already. 12 - m2gl025_miv 13 - qemu_xtensa/dc233c 14 - esp32s2_saola 15 - esp32s2_lolin_mini 16 timeout: 480 18 - native_sim 19 - qemu_x86
|
/Zephyr-latest/tests/kernel/timer/starve/ |
D | README.txt | 4 correctly handles situations where only one timeout is present, and that 5 timeout is repeatedly rescheduled before it has a chance to fire. In 12 minutes, hours, or days to fail, depending on the hardware clock rate 20 For example a system that uses a 32768-Hz internal timer counter with 21 24-bit resolution and determines elapsed time by a 24-bit unsigned 22 difference between the current and last-recorded counter value will fail 26 Systems that use a 32-bit counter of 80 MHz ticks would fail after
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | Kconfig | 1 # Copyright (c) 2018-2023 O.S.Systems 2 # SPDX-License-Identifier: Apache-2.0 5 bool "UpdateHub Firmware Over-the-Air support" 23 UpdateHub is an enterprise-grade solution which makes simple to 25 handles all aspects related to sending Firmware Over-the-Air 31 int "Time to poll interval (in minutes)" 36 This time interval is zero and 43200 minutes(30 days). 56 Server (updatehub-ce) as alternative to the 60 string "User address for the updatehub-ce-server" 84 int "CoAP connection timeout in seconds" [all …]
|
/Zephyr-latest/subsys/net/ip/ |
D | Kconfig.tcp | 6 # SPDX-License-Identifier: Apache-2.0 18 module-dep = NET_LOG 19 module-str = Log level for TCP 20 module-help = Enables TCP handler output debug messages 41 CONFIG_NUM_COOP_PRIORITIES-1 else lowest priority is 42 CONFIG_NUM_PREEMPT_PRIORITIES-1. 53 To avoid a (low-probability) issue when delayed packets from 58 suggests to use MSL of 2 minutes, but notes "This is an 60 it is desirable to do so." For low-resource systems, having 64 non-repeating port numbers and initial sequence numbers. Due [all …]
|
D | Kconfig.ipv6 | 4 # SPDX-License-Identifier: Apache-2.0 116 Incoming fragments are stored in per-packet queue before being 135 will timeout. RFC 2460 chapter 4.5 tells to wait for 60 seconds but 172 int "Timeout of Router Solicitation messaging" 177 The timeout in seconds between attempts to send a Router 194 By default the legacy format using EUI-64 (MAC address) specified in 202 bool "Generate IID using EUI-64" 204 Generate IID from modified EUI-64 a.k.a MAC address. This is the 264 int "Max lifetime for temporary address (in minutes)" 268 value. The value is in minutes. Default value is 1 day (24*60). [all …]
|
/Zephyr-latest/include/zephyr/ |
D | sys_clock.h | 2 * Copyright (c) 2014-2015 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 37 * @brief Tick precision used in timeout APIs 39 * This type defines the word size of the timeout values used in 41 * timeout length (or equivalently minimum tick duration). Note that 51 #define K_TICKS_FOREVER ((k_ticks_t) -1) 54 * @brief Kernel timeout type 56 * Timeout arguments presented to kernel APIs are stored in this 62 * internal data once constructed. Timeout values may be compared for 74 * test timeout objects for equality with known constants [all …]
|
D | kernel.h | 4 * SPDX-License-Identifier: Apache-2.0 53 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x))) 56 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES) 60 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1) 245 * bits, arch-specific use high bits. 289 * from within a user-provided callback they have been invoked. 290 * Effectively it serves as a tiny bit of zero-overhead TLS data. 328 /* end - thread options */ 335 * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`) 353 * @retval -EBUSY if the thread stack is in use. [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | blob.rst | 13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up 19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and 52 The BLOB transfer protocol does not provide any built-in integrity checks, encryption or 58 ------ 68 ------ 92 In the BLOB Transfer models' APIs, the BLOB data handling is separated from the high-level transfer 104 ----------- 119 --------------- 171 Transfer timeout 174 The timeout of the BLOB transfer is based on a Timeout Base value. Both client and server use the [all …]
|
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/.github/workflows/ |
D | doc-build.yml | 2 # SPDX-License-Identifier: Apache-2.0 8 - cron: '0 */3 * * *' 11 - v* 22 # and each sphinx-build process may use more than 2GiB of RAM. 26 doc-file-check: 28 runs-on: ubuntu-22.04 30 github.repository_owner == 'zephyrproject-rtos' 32 file_check: ${{ steps.check-doc-files.outputs.any_modified }} 34 - name: checkout 38 fetch-depth: 0 [all …]
|
D | twister.yaml | 6 - main 7 - v*-branch 8 - collab-* 11 - main 12 - v*-branch 13 - collab-* 16 - cron: '0 3 * * 0' 19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 20 cancel-in-progress: true 23 twister-build-prep: [all …]
|
D | codecov.yaml | 5 - cron: '25 06,18 * * *' 8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 9 cancel-in-progress: true 13 if: github.repository_owner == 'zephyrproject-rtos' 14 runs-on: 15 group: zephyr-runner-v2-linux-x64-4xlarge 17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026 18 options: '--entrypoint /bin/bash' 20 fail-fast: false 24 - platform: 'mps2/an385' [all …]
|
/Zephyr-latest/doc/connectivity/networking/ |
D | net_config_guide.rst | 79 5-tuple that is used when listening or sending network traffic. Each BSD socket in the 156 To avoid a (low-probability) issue when delayed packets from 159 `RFC 793 <https://www.rfc-editor.org/rfc/rfc793>`_ (TCP) suggests 162 suggests to use MSL of 2 minutes, but notes 167 For low-resource systems, having large MSL may lead to quick 170 TCP stacks by using random, non-repeating port numbers and initial 185 retransmit for up to 1:42 minutes. This is as close as possible 187 `RFC 1122 <https://www.rfc-editor.org/rfc/rfc1122>`_ (1:40 minutes). 189 values are in the 0-31 range. It's highly recommended to not go 192 Should a retransmission timeout occur, the receive callback is [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob_cli.h | 4 * SPDX-License-Identifier: Apache-2.0 41 /** Timestamp when the Block Report Timeout Timer expires for this Target node. */ 66 timedout:1, /* Target node didn't respond after specified timeout. */ 122 /** Additional response time for the Target nodes, in 10-second increments. 125 * to messages from the Client. The actual timeout will be calculated 129 * timeout = 20 seconds + (10 seconds * timeout_base) + (100 ms * TTL) 133 * configured transfer timeout, the Target node is dropped. 221 * Called when the transfer is suspended due to response timeout from all Target nodes. 255 * Called when all Target nodes have responded or the procedure timed-out. 279 /** If true, non-responsive Target nodes won't be dropped after transfer has timed out. */ [all …]
|
D | cfg_cli.h | 8 * SPDX-License-Identifier: Apache-2.0 88 * as @c buf->len is greater than or equal to 2. 289 * @param timeout Current value of PollTimeout timer of the LPN. 292 uint16_t elem_addr, uint32_t timeout); 387 * minutes 429 * The decoded subscription period is (1 << (period - 1)) seconds, or 0 435 * The decoded Heartbeat count is (1 << (count - 1)) if count is 464 * Logarithmic Heartbeat count. Decoded as (1 << (count - 1)) if count 477 * Decoded as (1 << (period - 1)) if period is between 1 and 0x11. 1580 * @param polltimeout Poll timeout response parameter. [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | Kconfig | 3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA 4 # Copyright (c) 2015-2016 Intel Corporation 5 # SPDX-License-Identifier: Apache-2.0 8 bool "Dedicated workqueue for long-running tasks." 11 Adds an API for a workqueue dedicated to long-running tasks. 23 int "Long workqueue priority. Should be pre-emptible." 58 # the worst-case stack size if an out-of-tree controller is used. 70 # Hidden option for Co-Operative Tx thread priority 97 bool "Process low priority HCI packets in the bluetooth-specific work queue" 100 in the bluetooth-specific work queue. The HCI driver shall not call bt_recv_prio(). [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.8.rst | 13 * Ecosystem: Tracing, debugging support through third-party tools (openocd, 39 * arm: Fixed nRF52840-QIAA SoC support for device tree 61 * Support for new ARM board FRDM-KL25Z 66 * arm: Added support for STM32F469I-DISCO board 72 * UART interrupt-driver API is better defined 73 * Support for pull-style console API 89 * HTTP Basic-Auth support added 91 * Add block wise support to CoAP for well-known response 124 * Bluetooth 5.0: The Controller reports itself as 5.0-capable 126 * Bluetooth 5.0: Added Multiple PHY support, both 2Mbit/s and long-range coded [all …]
|
D | release-notes-3.3.rst | 14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery) 17 CMSIS-DSP as the default backend. 30 * CVE-2023-0359: Under embargo until 2023-04-20 32 * CVE-2023-0779: Under embargo until 2023-04-22 66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding. 71 * Starting from this release ``zephyr-`` prefixed tags won't be created 82 image states). Use of a truncated hash or non-sha256 hash will still work 88 registration function at boot-up. If applications register this then 93 application code, these will now automatically be registered at boot-up (this 129 This may cause out-of-tree scripts or commands to fail if they have relied [all …]
|
D | release-notes-2.7.rst | 17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M 18 * Improved thread safety for Newlib and C++ on SMP-capable systems 20 * New Action-based Power Management API 23 * Linker Support for Tightly-Coupled Memory in RISC-V 25 * Support for extended PCI / PCIe capabilities, improved MIS-X support 33 * The kernel now supports both 32- and 64-bit architectures 36 * We added support for Point-to-Point Protocol (PPP) 37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates 38 * We added support for ARM Cortex-R Architecture 40 * Expanded support for ARMv6-M architecture [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms 249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`. [all …]
|
D | release-notes-1.14.rst | 17 * CVE-2020-10066 18 * CVE-2020-10069 19 * CVE-2020-13601 20 * CVE-2020-13602 32 * :github:`issuenumber` - issue title 34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre 35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply 36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller 37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board. 38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral … [all …]
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/ |
D | main.c | 2 * Copyright (c) 2022-2024 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 51 #define BROADCAST_ASSISTANT_TIMEOUT K_SECONDS(120) /* 2 minutes */ 61 #define PA_SYNC_INTERVAL_TO_TIMEOUT_RATIO 5 /* Set the timeout relative to interval */ 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() [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_ll_stm32.c | 6 * SPDX-License-Identifier: Apache-2.0 76 #define MIN_PPB -NB_PULSES_TO_PPB(MAX_CALM) 78 /* Timeout in microseconds used to wait for flags */ 126 /* user-defined alarm mask, values from RTC_ALARM_TIME_MASK */ 144 const struct rtc_stm32_config *cfg = dev->config; in rtc_stm32_configure() 158 (sync_prescaler != cfg->sync_prescaler) || in rtc_stm32_configure() 159 (async_prescaler != cfg->async_prescaler)) { in rtc_stm32_configure() 164 LL_RTC_SetSynchPrescaler(RTC, cfg->sync_prescaler); in rtc_stm32_configure() 165 LL_RTC_SetAsynchPrescaler(RTC, cfg->async_prescaler); in rtc_stm32_configure() 167 err = -EIO; in rtc_stm32_configure() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | proxy_srv.c | 5 * SPDX-License-Identifier: Apache-2.0 42 /* Interval to update random value in (10 minutes). 72 [0 ... (CONFIG_BT_MAX_CONN - 1)] = { 92 return -EINVAL; in gatt_recv() 97 return -EINVAL; in gatt_recv() 111 if (buf->len < 1) { in filter_set() 113 return -EINVAL; in filter_set() 121 (void)memset(client->filter, 0, sizeof(client->filter)); in filter_set() 122 client->filter_type = ACCEPT; in filter_set() 125 (void)memset(client->filter, 0, sizeof(client->filter)); in filter_set() [all …]
|