Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OVD doesn't with ValueCAN4-2 #48

Open
nico0481 opened this issue Feb 25, 2022 · 1 comment
Open

OVD doesn't with ValueCAN4-2 #48

nico0481 opened this issue Feb 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nico0481
Copy link

Hello,

I'm trying to use OVD with ValueCAN4-2.
Interface is correctly recognized with the pick list but when I try to do: Diagn Scanner-->Scan my car-->Start scan,
I get the answer: "could not start scanning: Battery voltage too low/ Could not read battery voltage.

There is no power supply connection on ValueCAN4 DB9 pinout, only CAN1 H/L, CAN2 H/L and 3 GND.

Regards

@nico0481 nico0481 added the bug Something isn't working label Feb 25, 2022
@bondango
Copy link

bondango commented Apr 29, 2022

The battery voltage is a can value from your vehicle not from your hardware. So i would ensure all connections are correct but

app_rust/src/windows/diag_scanner.rs

L71-76 is the battery check function - by pass it

fn increment_stage(&mut self) -> Option<DiagScannerMessage> {
    match self.curr_stage {
        0 => {
            if self.adapter.read_battery_voltage().unwrap_or(0.0) < 11.7 {
                self.status = "Battery voltage too low / Could not read battery voltage".into();
                return None;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants