Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Ddfu_srv.c237 net_buf_simple_add_le16(&buf, srv->update.timeout_base); in update_status_rsp()
260 uint16_t timeout_base, in is_active_update() argument
266 srv->update.timeout_base != timeout_base || in is_active_update()
275 uint16_t timeout_base, meta_checksum; in handle_start() local
283 timeout_base = net_buf_simple_pull_le16(buf); in handle_start()
288 LOG_DBG("%u ttl: %u extra time: %u", idx, ttl, timeout_base); in handle_start()
293 srv->update.timeout_base == timeout_base && in handle_start()
305 if (is_active_update(srv, idx, timeout_base, &blob_id, ttl, in handle_start()
327 srv->update.timeout_base = timeout_base; in handle_start()
362 ttl, timeout_base); in handle_start()
Ddfd_srv_internal.h17 uint16_t app_idx, timeout_base, slot_idx, group; member
Ddfd_srv.c259 net_buf_simple_add_le16(&rsp, srv->inputs.timeout_base); in status_rsp()
286 params.timeout_base = net_buf_simple_pull_le16(buf); in handle_start()
443 uint16_t timeout_base; in handle_upload_start() local
449 timeout_base = net_buf_simple_pull_le16(buf); in handle_upload_start()
483 srv->upload.blob.state.timeout_base == timeout_base in handle_upload_start()
543 timeout_base); in handle_upload_start()
1047 srv->inputs.timeout_base == params->timeout_base && in bt_mesh_dfd_srv_start()
1091 srv->inputs.timeout_base = params->timeout_base; in bt_mesh_dfd_srv_start()
1097 params->slot_idx, params->app_idx, params->timeout_base, params->group, params->ttl, in bt_mesh_dfd_srv_start()
Dblob_srv.c22 #define SERVER_TIMEOUT_SECS(srv) (10 * (1 + (srv)->state.timeout_base))
953 uint16_t timeout_base) in bt_mesh_blob_srv_recv() argument
965 srv->state.timeout_base = timeout_base; in bt_mesh_blob_srv_recv()
Ddfu_cli.c367 net_buf_simple_add_le16(&buf, cli->blob.inputs->timeout_base); in send_update_start()
724 rsp->timeout_base = net_buf_simple_pull_le16(buf); in handle_status()
733 rsp->timeout_base = 0U; in handle_status()
Dblob_cli.c25 #define CLIENT_TIMEOUT_MSEC(cli) (10 * MSEC_PER_SEC * (cli->inputs->timeout_base + 2) + \
/Zephyr-latest/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-latest/subsys/bluetooth/mesh/shell/
Dblob.c325 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[7], 0, &err); in cmd_tx()
327 blob_cli_xfer.inputs.timeout_base = 0; in cmd_tx()
403 blob_cli_xfer.inputs.timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_caps()
405 blob_cli_xfer.inputs.timeout_base = 0; in cmd_caps()
506 uint16_t timeout_base; in cmd_rx() local
518 timeout_base = shell_strtoul(argv[2], 0, &err); in cmd_rx()
520 timeout_base = 0U; in cmd_rx()
530 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.c604 shell_print(sh, "\tTimeout base: %u", rsp.timeout_base); in cmd_dfu_target_state()
/Zephyr-latest/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-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c4637 blob_cli_xfer.inputs.timeout_base = cp->timeout; in blob_transfer_start()
4725 uint16_t timeout_base; in blob_srv_recv() local
4732 timeout_base = cp->timeout; in blob_srv_recv()
4736 timeout_base); in blob_srv_recv()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst1433 ….. See :ref:`bluetooth_mesh_blob_timeout` for information about how ``timeout_base`` is used to ca…