Lines Matching refs:phase

458 		    target->phase == BT_MESH_DFU_PHASE_VERIFY) {  in skip_targets_from_broadcast()
602 target->phase = BT_MESH_DFU_PHASE_APPLY_SUCCESS; in target_img_cb()
652 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed()
656 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in confirmed()
707 enum bt_mesh_dfu_phase phase; in handle_status() local
713 phase = byte >> 5; in handle_status()
720 rsp->phase = phase; in handle_status()
749 LOG_DBG("%u phase: %u, cur state: %u", status, phase, cli->xfer.state); in handle_status()
751 target->phase = phase; in handle_status()
753 if (cli->xfer.state == STATE_APPLY && phase == BT_MESH_DFU_PHASE_IDLE && in handle_status()
786 if (phase == BT_MESH_DFU_PHASE_VERIFY) { in handle_status()
789 } else if (phase == BT_MESH_DFU_PHASE_VERIFY_FAIL) { in handle_status()
795 if (phase != BT_MESH_DFU_PHASE_APPLYING && in handle_status()
797 phase != BT_MESH_DFU_PHASE_IDLE)) { in handle_status()
799 target->blob.addr, phase); in handle_status()
806 if (phase == BT_MESH_DFU_PHASE_APPLYING) { in handle_status()
811 if (phase != BT_MESH_DFU_PHASE_IDLE) { in handle_status()
813 target->blob.addr, phase); in handle_status()
814 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in handle_status()
820 target->phase = BT_MESH_DFU_PHASE_TRANSFER_CANCELED; in handle_status()
919 target->phase = BT_MESH_DFU_PHASE_APPLY_FAIL; in handle_info_status()
1048 target->phase = BT_MESH_DFU_PHASE_UNKNOWN; in bt_mesh_dfu_cli_send()
1081 target->phase = BT_MESH_DFU_PHASE_UNKNOWN; in bt_mesh_dfu_cli_resume()