Lines Matching refs:xfer
62 const struct bt_mesh_blob_xfer *xfer, in blob_io_open() argument
75 const struct bt_mesh_blob_xfer *xfer, in blob_chunk_wr() argument
101 const struct bt_mesh_blob_xfer *xfer, in blob_chunk_rd() argument
111 const struct bt_mesh_blob_xfer *xfer, in blob_block_end() argument
138 struct bt_mesh_blob_xfer xfer; member
180 static void blob_cli_end(struct bt_mesh_blob_cli *b, const struct bt_mesh_blob_xfer *xfer, in blob_cli_end() argument
199 static int blob_srv_recover(struct bt_mesh_blob_srv *b, struct bt_mesh_blob_xfer *xfer, in blob_srv_recover() argument
207 struct bt_mesh_blob_xfer *xfer) in blob_srv_start() argument
925 blob_cli_xfer.xfer.mode = in test_cli_trans_complete()
927 blob_cli_xfer.xfer.size = CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 4; in test_cli_trans_complete()
928 blob_cli_xfer.xfer.id = 1; in test_cli_trans_complete()
929 blob_cli_xfer.xfer.block_size_log = 9; in test_cli_trans_complete()
930 blob_cli_xfer.xfer.chunk_size = 377; in test_cli_trans_complete()
934 &blob_cli_xfer.xfer, &blob_io); in test_cli_trans_complete()
1000 blob_cli_xfer.xfer.mode = in test_cli_trans_resume()
1002 blob_cli_xfer.xfer.size = CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 4; in test_cli_trans_resume()
1003 blob_cli_xfer.xfer.id = 1; in test_cli_trans_resume()
1004 blob_cli_xfer.xfer.block_size_log = 9; in test_cli_trans_resume()
1005 blob_cli_xfer.xfer.chunk_size = 377; in test_cli_trans_resume()
1009 &blob_cli_xfer.xfer, &blob_io); in test_cli_trans_resume()
1102 blob_cli_xfer.xfer.mode = BT_MESH_BLOB_XFER_MODE_PULL; in cli_pull_mode_setup()
1103 blob_cli_xfer.xfer.size = CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 3; in cli_pull_mode_setup()
1104 blob_cli_xfer.xfer.id = 1; in cli_pull_mode_setup()
1105 blob_cli_xfer.xfer.block_size_log = 8; in cli_pull_mode_setup()
1106 blob_cli_xfer.xfer.chunk_size = 36; in cli_pull_mode_setup()
1124 &blob_cli_xfer.xfer, &blob_io); in test_cli_trans_persistency_pull()
1194 const struct bt_mesh_blob_xfer *xfer, in fail_on_io_open() argument
1203 const struct bt_mesh_blob_xfer *xfer, in fail_on_block_start() argument
1222 blob_cli_xfer.xfer.mode = BT_MESH_BLOB_XFER_MODE_PUSH; in cli_common_fail_on_init()
1223 blob_cli_xfer.xfer.size = CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 2; in cli_common_fail_on_init()
1224 blob_cli_xfer.xfer.id = 1; in cli_common_fail_on_init()
1225 blob_cli_xfer.xfer.block_size_log = 9; in cli_common_fail_on_init()
1226 blob_cli_xfer.xfer.chunk_size = 377; in cli_common_fail_on_init()
1253 &blob_cli_xfer.xfer, &blob_io); in test_cli_fail_on_persistency()
1383 &blob_cli_xfer.xfer, &blob_io); in test_cli_fail_on_no_rsp()
1423 blob_cli_xfer.xfer.mode = in cli_stop_setup()
1425 blob_cli_xfer.xfer.size = CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 4; in cli_stop_setup()
1426 blob_cli_xfer.xfer.id = 1; in cli_stop_setup()
1427 blob_cli_xfer.xfer.block_size_log = 9; in cli_stop_setup()
1428 blob_cli_xfer.xfer.chunk_size = 377; in cli_stop_setup()
1436 blob_cli.xfer = &blob_cli_xfer.xfer; in cli_restore_suspended()
1437 blob_cli_xfer.xfer.id = 1; in cli_restore_suspended()
1466 &blob_cli_xfer.xfer, &blob_io); in test_cli_stop()
1504 &blob_cli_xfer.xfer, &blob_io); in test_cli_stop()
1529 ASSERT_EQUAL(CONFIG_BT_MESH_BLOB_BLOCK_SIZE_MIN * 4, blob_srv.state.xfer.size); in srv_check_reboot_and_continue()
1530 ASSERT_EQUAL(9, blob_srv.state.xfer.block_size_log); in srv_check_reboot_and_continue()
1531 ASSERT_EQUAL(1, blob_srv.state.xfer.id); in srv_check_reboot_and_continue()
1532 ASSERT_TRUE(blob_srv.state.xfer.mode != BT_MESH_BLOB_XFER_MODE_NONE); in srv_check_reboot_and_continue()
1558 ASSERT_OK(blob_srv.state.xfer.mode != BT_MESH_BLOB_XFER_MODE_NONE); in test_srv_stop()
1575 ASSERT_EQUAL(BT_MESH_BLOB_XFER_MODE_NONE, blob_srv.state.xfer.mode); in test_srv_stop()
1616 &blob_cli_xfer.xfer, &blob_io); in test_cli_friend_pull()