Lines Matching refs:dfu_srv
287 static struct bt_mesh_dfu_srv dfu_srv = BT_MESH_DFU_SRV_INIT(&dfu_handlers, dfu_imgs, variable
315 MODEL_LIST(BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
342 BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
1336 BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
1367 BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
1400 BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
1433 BT_MESH_MODEL_DFU_SRV(&dfu_srv)),
1570 ASSERT_EQUAL(expected_stop_phase, dfu_srv.update.phase); in test_target_dfu_stop()
1580 ASSERT_EQUAL(BT_MESH_DFU_PHASE_TRANSFER_ERR, dfu_srv.update.phase); in test_target_dfu_stop()
1584 ASSERT_EQUAL(BT_MESH_DFU_PHASE_VERIFY, dfu_srv.update.phase); in test_target_dfu_stop()
1587 ASSERT_EQUAL(BT_MESH_DFU_PHASE_VERIFY, dfu_srv.update.phase); in test_target_dfu_stop()
1588 bt_mesh_dfu_srv_verified(&dfu_srv); in test_target_dfu_stop()
1589 ASSERT_EQUAL(BT_MESH_DFU_PHASE_VERIFY_OK, dfu_srv.update.phase); in test_target_dfu_stop()
1592 ASSERT_EQUAL(BT_MESH_DFU_PHASE_VERIFY_FAIL, dfu_srv.update.phase); in test_target_dfu_stop()
1596 ASSERT_EQUAL(BT_MESH_DFU_PHASE_APPLYING, dfu_srv.update.phase); in test_target_dfu_stop()
1599 ASSERT_EQUAL(BT_MESH_DFU_PHASE_APPLYING, dfu_srv.update.phase); in test_target_dfu_stop()
1600 bt_mesh_dfu_srv_applied(&dfu_srv); in test_target_dfu_stop()
1601 ASSERT_EQUAL(BT_MESH_DFU_PHASE_IDLE, dfu_srv.update.phase); in test_target_dfu_stop()
1608 ASSERT_EQUAL(0, dfu_srv.update.idx); in test_target_dfu_stop()