Home
last modified time | relevance | path

Searched refs:timeout_base (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Ddfu_srv.c232 net_buf_simple_add_le16(&buf, srv->update.timeout_base); in update_status_rsp()
255 uint16_t timeout_base, in is_active_update() argument
261 srv->update.timeout_base != timeout_base || in is_active_update()
270 uint16_t timeout_base, meta_checksum; in handle_start() local
278 timeout_base = net_buf_simple_pull_le16(buf); in handle_start()
283 LOG_DBG("%u ttl: %u extra time: %u", idx, ttl, timeout_base); in handle_start()
288 srv->update.timeout_base == timeout_base && in handle_start()
300 if (is_active_update(srv, idx, timeout_base, &blob_id, ttl, in handle_start()
322 srv->update.timeout_base = timeout_base; in handle_start()
357 ttl, timeout_base); in handle_start()
Ddfd_srv_internal.h17 uint16_t app_idx, timeout_base, slot_idx, group; member
Ddfd_srv.c263 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp()
290 params.timeout_base = net_buf_simple_pull_le16(buf); in handle_start()
447 uint16_t timeout_base; in handle_upload_start() local
453 timeout_base = net_buf_simple_pull_le16(buf); in handle_upload_start()
487 srv->upload.blob.state.timeout_base == timeout_base in handle_upload_start()
547 timeout_base); in handle_upload_start()
1029 srv->inputs.timeout_base == params->timeout_base && in bt_mesh_dfd_srv_start()
1073 srv->inputs.timeout_base = params->timeout_base; in bt_mesh_dfd_srv_start()
1079 params->slot_idx, params->app_idx, params->timeout_base, params->group, params->ttl, in bt_mesh_dfd_srv_start()
Dblob_srv.c23 #define SERVER_TIMEOUT_SECS(srv) (10 * (1 + (srv)->state.timeout_base))
912 uint16_t timeout_base) in bt_mesh_blob_srv_recv() argument
924 srv->state.timeout_base = timeout_base; in bt_mesh_blob_srv_recv()
Ddfu_cli.c349 net_buf_simple_add_le16(&buf, cli->blob.inputs->timeout_base); in send_update_start()
706 rsp->timeout_base = net_buf_simple_pull_le16(buf); in handle_status()
715 rsp->timeout_base = 0U; in handle_status()
Dblob_cli.c27 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/mesh/
Dblob_srv.h146 uint16_t timeout_base; member
178 uint16_t timeout_base);
Ddfu_srv.h195 uint16_t timeout_base; member
Ddfu_cli.h105 uint16_t timeout_base; member
Dblob_cli.h135 uint16_t timeout_base; member
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Dblob.c329 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[7], 0, &err); in cmd_tx()
331 blob_cli_xfer.inputs.timeout_base = 0; in cmd_tx()
407 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_caps()
409 blob_cli_xfer.inputs.timeout_base = 0; in cmd_caps()
510 uint16_t timeout_base; in cmd_rx() local
522 timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_rx()
524 timeout_base = 0U; in cmd_rx()
534 id, bt_mesh_shell_blob_io, BT_MESH_TTL_MAX, timeout_base); in cmd_rx()
Ddfd.c35 srv->inputs.app_idx, srv->inputs.ttl, srv->inputs.timeout_base, in print_dfd_status()
238 params.timeout_base = shell_strtoul(argv[6], 0, &err); in cmd_dfd_start()
240 params.timeout_base = 0U; in cmd_dfd_start()
Ddfu.c605 shell_print(sh, "\tTimeout base: %u", rsp.timeout_base); in cmd_dfu_target_state()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_blob.c931 blob_cli_xfer.inputs.timeout_base = 10; in test_cli_trans_complete()
1006 blob_cli_xfer.inputs.timeout_base = 10; in test_cli_trans_resume()
1107 blob_cli_xfer.inputs.timeout_base = 10; in cli_pull_mode_setup()
1227 blob_cli_xfer.inputs.timeout_base = 10; in cli_common_fail_on_init()
1429 blob_cli_xfer.inputs.timeout_base = 10; in cli_stop_setup()
1527 ASSERT_EQUAL(1, blob_srv.state.timeout_base); in srv_check_reboot_and_continue()
Dtest_dfu.c494 .timeout_base = 10, in dist_dfu_start_and_confirm()
848 dfu_cli_xfer.inputs.timeout_base = 1; in dfu_cli_inputs_prepare()
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_mesh.c4378 blob_cli_xfer.inputs.timeout_base = cp->timeout; in blob_transfer_start()
4466 uint16_t timeout_base; in blob_srv_recv() local
4473 timeout_base = cp->timeout; in blob_srv_recv()
4477 timeout_base); in blob_srv_recv()
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/api/mesh/
Dshell.rst1411 ….. See :ref:`bluetooth_mesh_blob_timeout` for information about how ``timeout_base`` is used to ca…