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

Connected but no data is displayed in the app #71

Closed
cfabio opened this issue Feb 2, 2019 · 13 comments
Closed

Connected but no data is displayed in the app #71

cfabio opened this issue Feb 2, 2019 · 13 comments

Comments

@cfabio
Copy link

cfabio commented Feb 2, 2019

I am trying to use this app to get data from my car using a Vgate iCar 2 ELM327 WiFi OBD2 device.
It connects just fine but then nothing appears in the app, if I click in the menu on "get OBD data", "OBD vehicle info" or anything else I only get blank pages.
Any clue on how I can make this work?

Edit: I tried debugging with logcat but there is literally nothing interesting in the log even I select the most verbose logging option.

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 2, 2019

Thank you for your report.

Please could you send me the log?
It is stored in files as described here:
https://github.com/fr3ts0n/AndrOBD/wiki/Reporting-improvements---issues

Thx

@cfabio
Copy link
Author

cfabio commented Feb 2, 2019

I missed that part or the wiki.
He is the log, there are indeed a few errors reported in the logs: AndrOBD.log.4.txt

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 2, 2019

Thanks for the log.
Based on your log file, your problem looks very similar to the report of issue #70 (which I haven't received any details / log yet)
It appears that you also use WIFI Elm adapter on Android 9.

Now that I have some details on this, I'll check into that.

@cfabio
Copy link
Author

cfabio commented Feb 3, 2019

The phone I am trying this on actually runs lineageos 15.1 which is android 8.1.0

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 3, 2019

I don't have any V8.1 / V9 Hardware device yet, but I could reproduce the problem with android V9 emulator.

Here is a test version for you to verify the fix:
https://t.me/AndrOBD_dev/212

Please let me know if this works for you

@cfabio
Copy link
Author

cfabio commented Feb 3, 2019

Could you please attach the file to this post?
I don't have telegram.

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 3, 2019

Here it is (in zip format) ...
androbd-debug.zip

@cfabio
Copy link
Author

cfabio commented Feb 3, 2019

Thanks for the link.
I don't seem to be able to manually install this APK though, it tells me "App not installed".

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 3, 2019

Oh, yes, this is a debug version of the app, which does not contain any signature by the issuer (FDroid).
Therefore you will have to remove the original F-Droid app before you can install the test version.

You may also have to allow installation of apps from other sources to get it installed.

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 3, 2019

PS: there is a FOSS version of telegram available on FDroid, which is a really good alternative to WhatsApp because it allows to use multiple clients (Mobile, Tablet, PC) on the same account simultaneously.
(https://f-droid.org/de/packages/org.telegram.messenger/)

It's quite handy to exchange app versions, and report comments this way ...

@mskorge
Copy link

mskorge commented Feb 3, 2019

I'm seeing similar issues with my OnePlus 6 against a WiFi ELM adapter. Tried installing the zipped version after uninstalling from F-Droid but also got "App not installed".

This is what my log has:
2019-02-03 15:31:01.874 INFO CommService Connecting to 192.168.0.10 port 35000
2019-02-03 15:31:01.878 FINE CommService setState() NONE -> CONNECTING
2019-02-03 15:31:01.880 FINEST AndrOBD Handler notification: { when=-1ms what=1 obj=CONNECTING target=com.fr3ts0n.ecu.gui.androbd.MainActivity$3 }
2019-02-03 15:31:01.881 FINEST AndrOBD State change: { when=-2ms what=1 obj=CONNECTING target=com.fr3ts0n.ecu.gui.androbd.MainActivity$3 }
2019-02-03 15:31:33.331 SEVERE CommService failed to connect to /192.168.0.10 (port 35000) from /:: (port 41670): connect failed: ETIMEDOUT (Connection timed out)
2019-02-03 15:31:33.337 FINE CommService stop
2019-02-03 15:31:33.337 FINE CommService setState() CONNECTING -> OFFLINE
2019-02-03 15:31:33.338 FINE CommService setState() OFFLINE -> OFFLINE

@cfabio
Copy link
Author

cfabio commented Feb 3, 2019

I couldn't install the app from the phone itself but running adb install -t app.apk did the trick.
I can also confirm that @fr3ts0n fixed the issue, now I can connect to the device and get all kind of data from the ECU.
Look forward to having the fix pushed to fdroid.

@fr3ts0n
Copy link
Owner

fr3ts0n commented Feb 3, 2019

Fixed, released with V2.0.6

@fr3ts0n fr3ts0n closed this as completed Feb 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants