Home
last modified time | relevance | path

Searched +full:- +full:- +full:retry +full:- +full:failed (Results 1 – 25 of 100) sorted by relevance

1234

/Zephyr-latest/tests/boards/espressif/wifi/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
42 const struct wifi_scan_result *entry = (const struct wifi_scan_result *)cb->info; in wifi_scan_result()
49 printk("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", "Num", "SSID", in wifi_scan_result()
53 strncpy(ssid_print, entry->ssid, sizeof(ssid_print) - 1); in wifi_scan_result()
54 ssid_print[sizeof(ssid_print) - 1] = '\0'; in wifi_scan_result()
56 printk("%-4d | %-32s %-5u | %-4u (%-6s) | %-4d | %-15s | %-17s | %-8s\n", in wifi_scan_result()
57 wifi_ctx.scan_result, ssid_print, entry->ssid_length, entry->channel, in wifi_scan_result()
58 wifi_band_txt(entry->band), entry->rssi, wifi_security_txt(entry->security), in wifi_scan_result()
59 ((entry->mac_length) ? net_sprint_ll_addr_buf(entry->mac, WIFI_MAC_ADDR_LEN, in wifi_scan_result()
62 wifi_mfp_txt(entry->mfp)); in wifi_scan_result()
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_runner.py2 # Copyright (c) 2023-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
8 # pylint: disable=duplicate-code
18 # pylint: disable=no-name-in-module
134 … r'0 of 0 executed test configurations passed \(0.00%\), 0 built \(not run\), 0 failed, 0 errored'
142 … r'1 of 2 executed test configurations passed \(50.00%\), 1 built \(not run\), 0 failed, 0 errored'
149 …[r'2 of 3 executed test configurations passed \(66.67%\), 1 built \(not run\), 0 failed, 0 errored…
200 ['--build-only', '-b']
203 args = ['-i', '--outdir', out_path, '-T', test_path, flag] + \
205 ['-p'] * len(test_platforms), test_platforms
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
DKconfig7 # SPDX-License-Identifier: Apache-2.0
33 retry to send notification that failed due to lack of TX buffers
53 module-str = "Bluetooth Audio"
Dmicp_mic_dev.c4 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
6 * SPDX-License-Identifier: Apache-2.0
68 err = bt_gatt_notify_uuid(NULL, BT_UUID_MICS_MUTE, server->service_p->attrs, &server->mute, in notify_work_handler()
69 sizeof(server->mute)); in notify_work_handler()
70 if (err == 0 || err == -ENOTCONN) { in notify_work_handler()
74 if (err == -ENOMEM && in notify_work_handler()
76 LOG_WRN("Out of buffers for mute state notification. Will retry in %dms", in notify_work_handler()
116 LOG_ERR("Failed to schedule mute state notification err %d", err); in write_mute()
119 if (micp_inst.cb != NULL && micp_inst.cb->mute != NULL) { in write_mute()
120 micp_inst.cb->mute(micp_inst.mute); in write_mute()
[all …]
/Zephyr-latest/subsys/sd/
Dsd.c4 * SPDX-License-Identifier: Apache-2.0
32 return sdhc_request(card->sdhc, &cmd, NULL); in sd_idle()
38 * - CMD0 (SD reset)
39 * - CMD8 (SD voltage check)
60 ret = sdhc_request(card->sdhc, &cmd, NULL); in sd_send_interface_condition()
62 LOG_DBG("SD CMD8 failed with error %d", ret); in sd_send_interface_condition()
63 /* Retry */ in sd_send_interface_condition()
66 if (card->host_props.is_spi) { in sd_send_interface_condition()
73 /* Retry probe */ in sd_send_interface_condition()
78 return -ENOTSUP; in sd_send_interface_condition()
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32_priv.h4 * SPDX-License-Identifier: Apache-2.0
17 * @brief The packet type(SOP*) consists of 2-bytes
22 * @brief The message header consists of 2-bytes
98 #define UCPD_ANASUB_TO_RP(r) ((r - 1) & 0x3)
123 * @brief PD message send retry count for Rev 2.0
128 * @brief PD message send retry count for Rev 3.0
142 /* Transmission of power delivery message failed */
150 /* Transmission of Hard Reset message failed */
194 TX_MSG_NONE = -1,
313 /* Retry count on failure to transmit a message */
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c2 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
102 /* Retry next SDU interval */ in broadcast_sent_cb()
113 /* Retry next SDU interval */ in broadcast_sent_cb()
121 broadcast_sent_cb(&broadcast_stream->bap_stream); in audio_timer_timeout()
131 BT_DATA(BT_DATA_NAME_COMPLETE, CONFIG_BT_DEVICE_NAME, sizeof(CONFIG_BT_DEVICE_NAME) - 1),
138 /* Create a non-connectable advertising set */ in setup_extended_adv()
148 printk("Failed to set advertising data (err %d)\n", err); in setup_extended_adv()
155 printk("Failed to set periodic advertising parameters: %d\n", in setup_extended_adv()
194 printk("Failed to set extended advertising data: %d\n", err); in setup_extended_adv_data()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c5 * SPDX-License-Identifier: Apache-2.0
8 * https://www.mouser.hk/datasheet/2/783/BST-BMP180-DS000-1509579.pdf
64 const struct bmp180_config *cfg = dev->config; in bmp180_bus_check()
66 return i2c_is_ready_dt(&cfg->i2c) ? 0 : -ENODEV; in bmp180_bus_check()
72 const struct bmp180_config *cfg = dev->config; in bmp180_reg_read()
74 return i2c_burst_read_dt(&cfg->i2c, start, buf, size); in bmp180_reg_read()
80 const struct bmp180_config *cfg = dev->config; in bmp180_reg_write()
82 return i2c_reg_write_byte_dt(&cfg->i2c, reg, val); in bmp180_reg_write()
89 struct bmp180_data *data = dev->data; in bmp180_attr_set_oversampling()
91 /* Value must be a positive value 0-3 */ in bmp180_attr_set_oversampling()
[all …]
/Zephyr-latest/drivers/sensor/ti/tmp108/
Dtmp108_trigger.c4 * SPDX-License-Identifier: Apache-2.0
27 tmp108_reg_read(drv_data->tmp108_dev, TI_TMP108_REG_CONF, &config); in tmp108_trigger_handle_one_shot()
30 shutdown_mode = (config & (TI_TMP108_CONF_M1(drv_data->tmp108_dev) | in tmp108_trigger_handle_one_shot()
31 TI_TMP108_CONF_M0(drv_data->tmp108_dev))) == 0; in tmp108_trigger_handle_one_shot()
34 ti_tmp108_read_temp(drv_data->tmp108_dev); in tmp108_trigger_handle_one_shot()
36 LOG_ERR("Temperature one shot mode read failed, retrying"); in tmp108_trigger_handle_one_shot()
37 /* Wait for typical wake up time, retry if the read fails in tmp108_trigger_handle_one_shot()
41 k_work_reschedule(&drv_data->scheduled_work, in tmp108_trigger_handle_one_shot()
47 if (drv_data->data_ready_handler) { in tmp108_trigger_handle_one_shot()
48 drv_data->data_ready_handler(drv_data->tmp108_dev, in tmp108_trigger_handle_one_shot()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/central/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
35 #define PERIPHERAL_DEVICE_NAME_LEN (sizeof(PERIPHERAL_DEVICE_NAME) - 1)
38 #define NOTIFICATION_DATA_PREFIX_LEN (sizeof(NOTIFICATION_DATA_PREFIX) - 1)
41 #define NOTIFICATION_DATA_LEN MAX(200, (CONFIG_BT_L2CAP_TX_MTU - 4))
63 /* Total number of flags - must be at the end of the enum */
74 /* Total number of flags - must be at the end of the enum */
104 memset(&info->flags, 0, sizeof(info->flags)); in clear_info()
105 memset(&info->conn_ref, 0, sizeof(info->conn_ref)); in clear_info()
106 memset(&info->notify_counter, 0, sizeof(info->notify_counter)); in clear_info()
107 memset(&info->tx_notify_counter, 0, sizeof(info->tx_notify_counter)); in clear_info()
[all …]
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
64 BT_DATA(BT_DATA_NAME_COMPLETE, CONFIG_BT_DEVICE_NAME, sizeof(CONFIG_BT_DEVICE_NAME) - 1),
118 /* Retry next SDU interval */ in broadcast_sent_cb()
130 /* Retry next SDU interval */ in broadcast_sent_cb()
138 broadcast_sent_cb(&broadcast_stream->bap_stream); in audio_timer_timeout()
151 /* Create a non-connectable advertising set */ in setup_extended_adv()
162 printk("Failed to set advertising data (err %d)\n", err); in setup_extended_adv()
170 printk("Failed to set periodic advertising parameters: %d\n", err); in setup_extended_adv()
233 printk("Failed to create public broadcast announcement!: %d\n", err); in setup_extended_adv_data()
242 printk("Failed to set extended advertising data: %d\n", err); in setup_extended_adv_data()
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/remote/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
44 __ASSERT(packet->data[0] == expected_message, "Unexpected message. Expected %c, got %c", in ep_recv()
45 expected_message, packet->data[0]); in ep_recv()
78 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
80 if (ret == -ENOMEM) { in send_for_time()
81 /* No space in the buffer. Retry. */ in send_for_time()
85 LOG_ERR("Failed to send (%c) failed with ret %d", msg.data[0], ret); in send_for_time()
109 while ((recv_sem != 0) && ((k_uptime_get() - start) < sending_time_ms)) { in send_for_time()
132 LOG_INF("IPC-service REMOTE demo started"); in main()
137 if ((ret < 0) && (ret != -EALREADY)) { in main()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/conn_stress/peripheral/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
40 #define NOTIFICATION_DATA_PREFIX_LEN (sizeof(NOTIFICATION_DATA_PREFIX) - 1)
43 #define NOTIFICATION_DATA_LEN MAX(200, (CONFIG_BT_L2CAP_TX_MTU - 4))
68 /* Total number of flags - must be at the end of the enum */
136 LOG_ERR("Connection failed (err 0x%02x)", err); in connected()
186 addr, param->interval_min, (uint32_t)(param->interval_min * 1.25), in le_param_req()
187 param->interval_max, (uint32_t)(param->interval_max * 1.25), param->latency, in le_param_req()
188 param->timeout); in le_param_req()
201 LOG_ERR("Security for %p failed: %s level %u err %d", conn, addr, level, err); in security_changed()
228 params->value_handle = 0U; in rx_notification()
[all …]
/Zephyr-latest/modules/hostap/src/
Dsupp_main.c5 * SPDX-License-Identifier: Apache-2.0
185 return get_default_context()->supplicant; in zephyr_get_default_supplicant_context()
190 return &get_default_context()->iface_wq; in get_workq()
202 if (ctx->event_socketpair[1] < 0) { in zephyr_wifi_send_event()
203 ret = -ENOENT; in zephyr_wifi_send_event()
207 fds[0].fd = ctx->event_socketpair[0]; in zephyr_wifi_send_event()
213 ret = -errno; in zephyr_wifi_send_event()
218 ret = zsock_send(ctx->event_socketpair[1], msg, sizeof(*msg), 0); in zephyr_wifi_send_event()
220 ret = -errno; in zephyr_wifi_send_event()
221 LOG_WRN("Event send failed (%d)", ret); in zephyr_wifi_send_event()
[all …]
/Zephyr-latest/drivers/disk/nvme/
Dnvme_cmd.c3 * SPDX-License-Identifier: Apache-2.0
44 { NVME_SC_ABORTED_POWER_LOSS, "ABORTED - POWER LOSS" },
46 { NVME_SC_ABORTED_BY_REQUEST, "ABORTED - BY REQUEST" },
47 { NVME_SC_ABORTED_SQ_DELETION, "ABORTED - SQ DELETION" },
48 { NVME_SC_ABORTED_FAILED_FUSED, "ABORTED - FAILED FUSED" },
49 { NVME_SC_ABORTED_MISSING_FUSED, "ABORTED - MISSING FUSED" },
66 { NVME_SC_SANITIZE_FAILED, "SANITIZE FAILED" },
109 { NVME_SC_SELF_TEST_IN_PROGRESS, "DEVICE SELF-TEST IN PROGRESS" },
118 { NVME_SC_ANA_ATTACH_FAILED, "ANA ATTACH FAILED" },
171 while (entry->sc != 0xFFFF) { in get_status_string()
[all …]
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp_cp.c4 * SPDX-License-Identifier: Apache-2.0
53 OSDP_CP_ERR_GENERIC = -1,
54 OSDP_CP_ERR_NO_DATA = -2,
55 OSDP_CP_ERR_RETRY_CMD = -3,
56 OSDP_CP_ERR_CAN_YIELD = -4,
57 OSDP_CP_ERR_INPROG = -5,
58 OSDP_CP_ERR_UNKNOWN = -6,
66 if (k_mem_slab_alloc(&pd->cmd.slab, (void **)&cmd, K_MSEC(100))) { in cp_cmd_alloc()
67 LOG_ERR("Memory allocation time-out"); in cp_cmd_alloc()
75 k_mem_slab_free(&pd->cmd.slab, (void *)cmd); in cp_cmd_free()
[all …]
/Zephyr-latest/.github/workflows/
Dclang.yaml6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
7 cancel-in-progress: true
10 clang-build:
11 if: github.repository_owner == 'zephyrproject-rtos'
12 runs-on:
13 group: zephyr-runner-v2-linux-x64-4xlarge
15 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
16 options: '--entrypoint /bin/bash'
18 fail-fast: false
22 CCACHE_DIR: /node-cache/ccache-zephyr
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rd_client.c3 * Copyright (c) 2017-2019 Foundries.io
5 * SPDX-License-Identifier: Apache-2.0
227 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in set_sm_state_delayed()
228 client.ctx->event_cb(client.ctx, event); in set_sm_state_delayed()
328 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in sm_handle_timeout_state()
329 client.ctx->event_cb(client.ctx, event); in sm_handle_timeout_state()
358 if (event > LWM2M_RD_CLIENT_EVENT_NONE && client.ctx->event_cb) { in sm_handle_failure_state()
359 client.ctx->event_cb(client.ctx, event); in sm_handle_failure_state()
371 client.ctx->sec_obj_inst = -1; in socket_fault_cb()
377 * after receiving Ack to Bootstrap-Finish command. in socket_fault_cb()
[all …]
/Zephyr-latest/drivers/eeprom/
Deeprom_mchp_xec.c4 * SPDX-License-Identifier: Apache-2.0
28 /* EEPROM Execute Register - Transfer size bit position */
31 /* EEPROM Execute Register - Commands */
37 /* EEPROM Execute Register - Address mask */
84 regs->execute = temp; in eeprom_xec_execute_reg_set()
96 *destination_ptr = regs->buffer[count]; in eeprom_xec_data_buffer_read()
112 regs->buffer[count] = *source_ptr; in eeprom_xec_data_buffer_write()
128 LOG_ERR("XEC EEPROM retry count exceeded"); in eeprom_xec_wait_transfer_compl()
133 sts = XEC_EEPROM_STS_TRANSFER_COMPL & regs->status; in eeprom_xec_wait_transfer_compl()
140 regs->status = XEC_EEPROM_STS_TRANSFER_COMPL; in eeprom_xec_wait_transfer_compl()
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/icmsg/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
48 __ASSERT(packet->data[0] == expected_message, "Unexpected message. Expected %c, got %c", in ep_recv()
49 expected_message, packet->data[0]); in ep_recv()
82 while ((k_uptime_get() - start) < sending_time_ms) { in send_for_time()
84 if (ret == -ENOMEM) { in send_for_time()
85 /* No space in the buffer. Retry. */ in send_for_time()
89 LOG_ERR("Failed to send (%c) failed with ret %d", msg.data[0], ret); in send_for_time()
113 while ((recv_sem != 0) && ((k_uptime_get() - start) < sending_time_ms)) { in send_for_time()
136 LOG_INF("IPC-service HOST demo started"); in main()
146 if ((ret < 0) && (ret != -EALREADY)) { in main()
[all …]
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c2 * Copyright (c) 2022-2024 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
115 printk("Failed to discover CAS: %d", err); in cap_discovery_complete_cb()
121 printk("Failed to discover CAS CSIS"); in cap_discovery_complete_cb()
136 printk("Failed to start (failing conn %p): %d", conn, err); in unicast_start_complete_cb()
146 printk("Failed to update (failing conn %p): %d", conn, err); in unicast_update_complete_cb()
154 printk("Failed to stop (failing conn %p): %d", conn, err); in unicast_stop_complete_cb()
172 printk("Failed to discover CAS: %d\n", err); in discover_cas()
178 printk("failed to take sem_cas_discovery (err %d)\n", err); in discover_cas()
187 while (len-- != 0) { in print_hex()
[all …]
/Zephyr-latest/drivers/gnss/
Dgnss_u_blox_m8.c4 * SPDX-License-Identifier: Apache-2.0
92 struct ubx_m8_data *data = dev->data; in ubx_m8_resume()
95 ret = modem_pipe_open(data->uart_pipe, K_SECONDS(10)); in ubx_m8_resume()
100 ret = modem_chat_attach(&data->chat, data->uart_pipe); in ubx_m8_resume()
102 (void)modem_pipe_close(data->uart_pipe, K_SECONDS(10)); in ubx_m8_resume()
111 struct ubx_m8_data *data = dev->data; in ubx_m8_turn_off()
113 return modem_pipe_close(data->uart_pipe, K_SECONDS(10)); in ubx_m8_turn_off()
118 struct ubx_m8_data *data = dev->data; in ubx_m8_init_nmea0183_match()
123 .satellites = data->satellites, in ubx_m8_init_nmea0183_match()
124 .satellites_size = ARRAY_SIZE(data->satellites), in ubx_m8_init_nmea0183_match()
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Denvironment.py4 # Copyright (c) 2018-2024 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
45 def _get_installed_packages() -> Generator[str, None, None]:
58 print("Install a newer Python version and retry.")
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
[all …]
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c4 * SPDX-License-Identifier: Apache-2.0
67 switch (data->type) { in data_cb()
70 len = MIN(data->data_len, DEVICE_NAME_LEN - 1); in data_cb()
71 memcpy(name, data->data, len); in data_cb()
89 if (info->interval == 0U) { in scan_recv()
90 /* Not broadcast periodic advertising - Ignore */ in scan_recv()
102 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
105 le_addr, info->rssi); in scan_recv()
109 per_sid = info->sid; in scan_recv()
110 per_interval_us = BT_CONN_INTERVAL_TO_US(info->interval); in scan_recv()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc2520.c1 /* ieee802154_cc2520.c - TI CC2520 driver */
8 * SPDX-License-Identifier: Apache-2.0
47 * 1 - Debug related functions
48 * 2 - Generic helper functions (for any parts)
49 * 3 - GPIO related functions
50 * 4 - TX related helper functions
51 * 5 - RX related helper functions
52 * 6 - Radio device API functions
53 * 7 - Legacy radio device API functions
54 * 8 - Initialization
[all …]

1234