Add calib to host function and TOF to embedded code