Home
last modified time | relevance | path

Searched +full:re +full:- +full:sending (Results 1 – 25 of 140) sorted by relevance

123456

/Zephyr-latest/subsys/bluetooth/host/
DKconfig.gatt4 # SPDX-License-Identifier: Apache-2.0
22 These buffers are only used for sending anything over ATT.
72 bool "Automatic re-subscription to characteristics"
77 Quirk: upon re-establishing a bonded connection, assumes the remote
85 bool "Automatic security re-establishment request as a peripheral"
89 This option requests security re-establishment automatically whenever
95 bt_conn_set_security() to re-establish security prior to sending any
156 bool "GATT Enforce change-unaware state"
163 a client until it becomes change-aware."
164 In case the service cannot deal with sudden errors (-EAGAIN) then it
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
25 int "SMP command re-send period in ms"
29 The time (in ms) which the SMP client will wait for a response before re-sending
39 module-str = mcumgr_smp_client
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dshell.py3 # SPDX-License-Identifier: Apache-2.0
8 import re
27 ) -> None:
32 def wait_for_prompt(self, timeout: float | None = None) -> bool:
55 ) -> list[str]:
58 is extended by double enter sings - first one to execute this command
64 regex_prompt = re.escape(self.prompt)
65 regex_command = f'.*{re.escape(command)}'
69 … # wait for device command print - it should be done immediately after sending command to device
83 def get_filtered_output(self, command_lines: list[str]) -> list[str]:
[all …]
/Zephyr-latest/drivers/console/
Dipm_console_receiver.c1 /* ipm_console.c - Console messages to/from another processor */
6 * SPDX-License-Identifier: Apache-2.0
35 k_sem_take(&driver_data->sem, K_FOREVER); in ipm_console_thread()
37 ret = ring_buf_item_get(&driver_data->rb, &type, in ipm_console_thread()
38 (uint8_t *)&config_info->line_buf[pos], in ipm_console_thread()
47 if (config_info->line_buf[pos] == '\n' || in ipm_console_thread()
48 pos == config_info->lb_size - 2) { in ipm_console_thread()
49 if (pos != config_info->lb_size - 2) { in ipm_console_thread()
50 config_info->line_buf[pos] = '\0'; in ipm_console_thread()
52 config_info->line_buf[pos + 1] = '\0'; in ipm_console_thread()
[all …]
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py3 # SPDX-License-Identifier: Apache-2.0
6 Zephyr CAN shell module support for providing a python-can bus interface for testing.
9 import re
21 class CanShellBus(BusABC): # pylint: disable=abstract-method
27 can_filters: Optional[CanFilters] = None, **kwargs) -> None:
52 def _get_capabilities(self) -> list[str]:
56 regex_compiled = re.compile(r'capabilities:\s+(?P<caps>.*)')
64 def _set_mode(self, mode: str) -> None:
79 def send(self, msg: Message, timeout: Optional[float] = None) -> None:
80 logger.debug('sending: %s', msg)
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_blockwise.py2 Tests for Block-Wise transfers in LwM2M
7 SPDX-License-Identifier: Apache-2.0
15 import re
26 """Blockwise test 1: Block-Wise PUT using OPAQUE content format"""
39 line = lines[-1]
40 crc = int(re.search('CRC ([0-9]+)', line).group(1))
47 """Blockwise test 2: Block-Wise PUT with retry"""
53 # Set timeout to 1 second to force Leshan to stop sending
69 line = lines[-1]
70 crc = int(re.search('CRC ([0-9]+)', line).group(1))
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dintel_adsp.py1 # Copyright (c) 2022-2024 Intel Corporation
3 # SPDX-License-Identifier: Apache-2.0
11 import re
22 'User-friendly feedback when trying to sign with west flash'
25 '"west sign" is now called from CMake, see "west sign -h"')
28 '''Runner front-end for the intel ADSP boards.'''
57 parser.add_argument('--remote-host',
59 parser.add_argument('--pty', nargs='?', const="remote-host", type=str,
60 help=''''Capture the output of cavstool.py running on --remote-host \
63 for old_sign_param in [ '--rimage-tool', '--config-dir', '--default-key', '--key']:
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmsg.h8 * SPDX-License-Identifier: Apache-2.0
75 /** Message sending context. */
86 /** Destination address of a received message. Not used for sending. */
92 /** RSSI of received packet. Not used for sending. */
95 /** Received TTL value. Not used for sending. */
98 /** Force sending reliably by using segment acknowledgment */
153 .app_idx = (pub)->key, \
154 .addr = (pub)->addr, \
155 .send_ttl = (pub)->ttl, \
156 .uuid = (pub)->uuid, \
[all …]
/Zephyr-latest/include/zephyr/sip_svc/
Dsip_svc.h2 * Copyright (c) 2022-2023, Intel Corporation.
4 * SPDX-License-Identifier: Apache-2.0
22 * The client must open a channel before sending any request and
30 * - INVALID: Invalid state before registration.
31 * - IDLE : Initial state.
32 * - OPEN : The client will switch from IDLE to OPEN once it
36 * - ABORT : The client has closed the channel, however, there are
40 * re-open the channel when in ABORT state/
44 #include <zephyr/arch/arm64/arm-smccc.h>
89 * @retval -EINVALinvalid arguments.
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dclient_test.c4 * SPDX-License-Identifier: Apache-2.0
95 /* We're only interested in connectable events */ in device_found()
126 } else if (err != -ENOMEM) { in send_notification()
131 } while (err == -ENOMEM); in send_notification()
200 FAIL("Sending credit based connection request failed (err %d)\n", err); in test_main()
222 while (bt_eatt_count(g_conn) != (CONFIG_BT_EATT_MAX - idx)) { in test_main()
230 FAIL("Sending credit based connection request failed (err %d)\n", err); in test_main()
245 printk("Sending final sync\n"); in test_main()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_l2.rst13 The L2 stack is designed to hide the whole networking link-layer part
27 :ref:`IEEE 802.15.4 Soft-MAC <ieee802154_interface>`, :ref:`CANBUS <can_api>`,
28 :ref:`OpenThread <thread_protocol_interface>`, Wi-Fi, and a dummy layer example
40 - ``recv()``: All device drivers, once they receive a packet which they put
46 the link layer header, or handling link-layer only packets. The ``recv()``
51 - ``send()``: Similar to receive function, the network stack will call this
52 function to actually send a network packet. All relevant link-layer content
55 error code if there was a failure sending the network packet.
57 - ``enable()``: This function is used to enable/disable traffic over a network
60 - ``get_flags()``: This function will return the capabilities of an L2 driver,
[all …]
Dlwm2m.rst18 CoAP packet-size optimization and a simple, stateless flow that supports a
35 .. list-table::
36 :header-rows: 1
38 * - Object ID
39 - Name
40 - Instance
41 - Mandatory
43 * - 3
44 - Device
45 - Single
[all …]
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.c4 * SPDX-License-Identifier: Apache-2.0
47 return ptr - (char *)buf; in make_request()
72 sys_put_be16(DATA_OPCODE, client->tftp_buf); in send_data()
73 sys_put_be16(block_no, client->tftp_buf + 2); in send_data()
74 memcpy(client->tftp_buf + TFTP_HEADER_SIZE, data_buffer, data_size); in send_data()
76 ret = zsock_send(sock, client->tftp_buf, data_size + TFTP_HEADER_SIZE, 0); in send_data()
78 LOG_ERR("send() error: %d", -errno); in send_data()
79 return -errno; in send_data()
90 LOG_ERR("recv() error: %d", -errno); in send_data()
91 return -errno; /* IO error */ in send_data()
[all …]
/Zephyr-latest/subsys/net/lib/http/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
9 This parser requires some string-related routines commonly
16 This parser requires some string-related routines commonly
78 int "Size of the buffer used for decoding Huffman-encoded strings"
82 Size of the buffer used for decoding Huffman-encoded strings when
94 int "Maximum HTTP Content-Type Length"
98 This setting determines the maximum length of the HTTP Content-Length field.
133 This setting determines the size of the (per-client) buffer used to store
151 (i. e. not sending or receiving any data) before the server drops the
173 int "Delay before re-initialization when restarting server"
[all …]
/Zephyr-latest/subsys/logging/backends/
DKconfig.net2 # SPDX-License-Identifier: Apache-2.0
68 originator submits messages to the syslog transport for sending.
77 re-initialized." For Zephyr this is currently interpreted as the
130 backend-str = net
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_dir_both_loopback.c5 * SPDX-License-Identifier: Apache-2.0
20 * - START trigger starts both the transmission and reception.
21 * - Sending / receiving a short sequence of data returns success.
22 * - DRAIN trigger empties the transmit queue and stops both streams.
37 TC_PRINT("%d->OK\n", 1); in ZTEST_USER()
41 TC_PRINT("%d->OK\n", 2); in ZTEST_USER()
48 TC_PRINT("%d<-OK\n", 1); in ZTEST_USER()
52 TC_PRINT("%d->OK\n", 3); in ZTEST_USER()
60 TC_PRINT("%d<-OK\n", 2); in ZTEST_USER()
64 TC_PRINT("%d<-OK\n", 3); in ZTEST_USER()
[all …]
Dtest_i2s_loopback.c4 * SPDX-License-Identifier: Apache-2.0
15 * - TX stream START trigger starts transmission.
16 * - RX stream START trigger starts reception.
17 * - sending / receiving a short sequence of data returns success.
18 * - TX stream DRAIN trigger empties the transmit queue.
19 * - RX stream STOP trigger stops reception.
34 TC_PRINT("%d->OK\n", 1); in ZTEST_USER()
38 TC_PRINT("%d->OK\n", 2); in ZTEST_USER()
50 TC_PRINT("%d<-OK\n", 1); in ZTEST_USER()
54 TC_PRINT("%d->OK\n", 3); in ZTEST_USER()
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_spi_stm32.c4 * SPDX-License-Identifier: Apache-2.0
10 * bytes) and need to constant sending status byte (the SPI module is enabled and disabled per
11 * transaction), see https://github.com/zephyrproject-rtos/zephyr/issues/56091.
33 * dedicated for Host Commands. It disabled standard SPI driver. For STM32 SPI "st,stm32-spi" has
34 * to be changed to "st,stm32-spi-host-cmd". The remaining "additional" compatible strings should
46 /* Framing byte which precedes a response packet from the EC. After sending a
88 * permits a 512-byte request at 500 KHz, assuming the master starts sending
138 /* Sending response */
141 /* Received bad data - transaction started before we were ready, or
238 return (uint32_t)(&spi->RXDR); in dma_source_addr()
[all …]
Dec_host_cmd_backend_shi_npcx.c4 * SPDX-License-Identifier: Apache-2.0
32 #define HAL_INSTANCE(dev) (struct shi_reg *)(((const struct shi_npcx_config *)(dev)->config)->base)
48 * This affects the slowest SPI clock we can support. A delay of 8192 us permits a 512-byte request
49 * at 500 KHz, assuming the SPI controller starts sending bytes as soon as it asserts chip select.
62 * Space allocation of the past-end status byte (EC_SHI_PAST_END) in the out_msg buffer.
73 * one last past-end byte at the end so any additional bytes clocked out by
81 * overhead, as passed to the host command handler, must be 32-bit aligned.
87 SHI_STATE_NONE = -1,
98 /* Sending response */
117 /* Chip-select interrupts */
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Ddfu.rst88 time-consuming Distribution stage. Once the firmware has been uploaded to the Distributor, the
140 +------------------------+--------------+----------------------------------------+
147 +------------------------+--------------+----------------------------------------+
149 +------------------------+--------------+----------------------------------------+
155 +------------------------+--------------+----------------------------------------+
156 | Hash of incoming | 4 B | Lower 4 octets of AES-CMAC |
157 | composition data | (Optional) | (app-specific-key, composition data). |
160 +------------------------+--------------+----------------------------------------+
165 +------------------------+--------------+----------------------------------------+
166 | Application-specific | <variable> | Application-specific data to allow |
[all …]
/Zephyr-latest/include/zephyr/net/
Dwebsocket.h10 * SPDX-License-Identifier: Apache-2.0
100 * the fields that the server is sending.
127 * @return Websocket id to be used when sending/receiving Websocket data.
173 * @retval -EAGAIN on timeout.
174 * @retval -ENOTCONN on socket close.
175 * @retval -errno other negative errno value in case of failure.
184 * @details One must call websocket_connect() after this call to re-establish
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_friendship.c4 * SPDX-License-Identifier: Apache-2.0
77 while (--polls) { in friend_wait_for_polls()
87 K_SECONDS(2)) != -EAGAIN) { in friend_wait_for_polls()
141 * Verifies unsegmented, segmented and multiple packet sending and receiving.
158 LOG_INF("Sending unsegmented message"); in test_friend_msg()
175 * This tests the friend role's re-encryption mechanism for the second in test_friend_msg()
176 * message, as sending the first message through the network layer in test_friend_msg()
191 ASSERT_OK_MSG(bt_mesh_test_recv(5, cfg->addr, NULL, K_SECONDS(10)), in test_friend_msg()
195 * after sending the segments. in test_friend_msg()
197 ASSERT_OK(bt_mesh_test_recv(15, cfg->addr, NULL, K_SECONDS(10))); in test_friend_msg()
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_ibi_workq.c5 * SPDX-License-Identifier: Apache-2.0
28 return k_work_submit_to_queue(&i3c_ibi_work_q, &ibi_node->work); in ibi_work_submit()
39 ret = -ENOMEM; in i3c_ibi_work_enqueue()
65 ret = -ENOMEM; in i3c_ibi_work_enqueue_target_irq()
71 ibi_node->type = I3C_IBI_TARGET_INTR; in i3c_ibi_work_enqueue_target_irq()
72 ibi_node->target = target; in i3c_ibi_work_enqueue_target_irq()
73 ibi_node->payload.payload_len = payload_len; in i3c_ibi_work_enqueue_target_irq()
76 (void)memcpy(&ibi_node->payload.payload[0], in i3c_ibi_work_enqueue_target_irq()
97 ret = -ENOMEM; in i3c_ibi_work_enqueue_hotjoin()
103 ibi_node->type = I3C_IBI_HOTJOIN; in i3c_ibi_work_enqueue_hotjoin()
[all …]
/Zephyr-latest/drivers/timer/
Dintel_adsp_timer.c4 * SPDX-License-Identifier: Apache-2.0
12 #include <cavs-idc.h>
39 #define MAX_TICKS ((MAX_CYC - CYC_PER_TICK) / CYC_PER_TICK)
79 /* The count register is 64 bits, but we're a 32 bit CPU that in count()
112 dticks = (curr - last_count) / CYC_PER_TICK; in compare_isr()
123 if ((int64_t)(next - curr) < MIN_DELAY) { in compare_isr()
140 ticks = CLAMP(ticks - 1, 0, (int32_t)MAX_TICKS); in sys_clock_set_timeout()
148 adj = (uint32_t)(curr - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
149 if (cyc <= MAX_CYC - adj) { in sys_clock_set_timeout()
157 if (((uint32_t)next - (uint32_t)curr) < MIN_DELAY) { in sys_clock_set_timeout()
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
15 module-dep = LOG
16 module-str = Log level for LwM2M library
85 into blocks for sending.
90 bool "Use path matching as fallback for cancel-observe"
93 implementations to implement cancel-observe by specifying the resource
95 this option, cancel-observe may not work properly when connecting to
108 after sending a message to the server. Note, that LwM2M specification
140 According to LwM2M specification v1.0 and v1.1, non-core object versions other than 1.0
177 int "Default server ssid when using the lwm2m-client. (used for access control)"
[all …]

123456