Don't know if I will have it ready for testing in time for you to install before you come by tomorrow.kevinleaf said:Cool! I will try this with my MX unit on the way down to San Jose on Monday and let you know how it works.
How are you detecting that it is the ST chipset? For reference I think ATZ on my MX unit reports ELM327 v1.3a and STI reports STN1151 v4.0.2
Turbo3,Turbo3 said:Don't know if I will have it ready for testing in time for you to install before you come by tomorrow.kevinleaf said:Cool! I will try this with my MX unit on the way down to San Jose on Monday and let you know how it works.
How are you detecting that it is the ST chipset? For reference I think ATZ on my MX unit reports ELM327 v1.3a and STI reports STN1151 v4.0.2
Still debugging the Brake monitor code.
When you enabled the braking/motor power screen you should have gotten a message that this is an experimental feature and might lock up the app. So if it does you should disable that screen.pthack said:Finally bought Leaf Spy Pro....but when I go to the screen (screen 5) where it shows brake power and other stuff, the program kills my ELM327 BT adapter looking like it's asking for '167 00' in the 'connected' status bar at the bottom right....I can go back to other screens, but they never update.....eventually I get an ioException popup and the program is essentially dead...I can swap screens, but nothing udpates, even if I close and re-open the program. I have to either turn off the car (and let the ELM go unpowered), or unplug/replug the ELM.....
What now?
Turbo3 said:When you enabled the braking/motor power screen you should have gotten a message that this is an experimental feature and might lock up the app. So if it does you should disable that screen.pthack said:Finally bought Leaf Spy Pro....but when I go to the screen (screen 5) where it shows brake power and other stuff, the program kills my ELM327 BT adapter looking like it's asking for '167 00' in the 'connected' status bar at the bottom right....I can go back to other screens, but they never update.....eventually I get an ioException popup and the program is essentially dead...I can swap screens, but nothing udpates, even if I close and re-open the program. I have to either turn off the car (and let the ELM go unpowered), or unplug/replug the ELM.....
What now?
Try again when I release the next version of Leaf Spy Pro. The next version will also support a more advanced version of the OBDII adapter that is based on the ST chip set. The testing I am doing with an ST based OBDII adapter has shown good performance on the braking/motor power screen (i.e. no hangs).
First, what version of Leaf Spy Pro are you running? From what you have talked about you seem to be running an old version.pthack said:Turbo3 said:When you enabled the braking/motor power screen you should have gotten a message that this is an experimental feature and might lock up the app. So if it does you should disable that screen.pthack said:Finally bought Leaf Spy Pro....but when I go to the screen (screen 5) where it shows brake power and other stuff, the program kills my ELM327 BT adapter looking like it's asking for '167 00' in the 'connected' status bar at the bottom right....I can go back to other screens, but they never update.....eventually I get an ioException popup and the program is essentially dead...I can swap screens, but nothing udpates, even if I close and re-open the program. I have to either turn off the car (and let the ELM go unpowered), or unplug/replug the ELM.....
What now?
Try again when I release the next version of Leaf Spy Pro. The next version will also support a more advanced version of the OBDII adapter that is based on the ST chip set. The testing I am doing with an ST based OBDII adapter has shown good performance on the braking/motor power screen (i.e. no hangs).
I never 'enabled' any new screens, just booted it up, let it pair to the elm327 (why it needs to re-pair everytime, when leafspylite just 'works', is beyond me...), and started to look at screens.....
Still don't know why the power monitoring screen doesn tell you what units it uses.....says it shows motor power and regen, but I never see anything for regen (and don't know where it would report it anyway), and doesn't use unit that seem to make sense (we THINK of using power in KWh...as in, when I hit floor the pedal, the motor can use up to 90kw of power....), but I have only seen the numerical value of 2000 on the gauge? haven't found any help pages that explain any of this....
Leaf Spy Lite just seems to work....Pro seems to add complexity where it wasn't needed (or is it just me?)....not sure what do do with all the BT options...'enable/disable BT when starting'/'automatically pair'/etc...when leaf spy lite just worked.....maybe there's a manual I haven't read yet....
and what's with all the IoExceptions.....doesn't seem to be reliable...is there a log file I need to send someone? It's an android app, why doesn't it give me the option to send the error file back to the developer when it traps itself (since it seem to keep running anyway...)...
and what is a 'connected 167 00' status anyway, and why can't it recover itself?
Still haven't found the place to disable this extra screen that supposedly I can disable?
Can someone tell me where I find the manual for this on my phone?
Here is the trace data I was sent but it is very short and does not go back far enough to indicate which line of Leaf Spy Pro code was being executed.CheesyM said:Hi
I'm a new user of Leaf Spy Pro (I bought it last night). I can get it to work on my Nexus 7, but not on my Nexus 5 (it "crashes" as soon as it starts up and I choose the Bluetooth ODBII device). I can get the Torque app + ODBII to work on my Nexus 5 without a problem, but neither Leaf Spy Lite or Leaf Spy Pro work. I've tried rebooting phone, re-pairing ODBII device, turning bluetooth on/off, but nothing works. I've sent in a report via the Android error reporting feature.
I wonder if the problem is related to the Android L (5.0) developer preview that I've installed on my Nexus 5. Most programs work correctly, but I've found a couple that don't. Has anyone else tried Leaf Spy with Android L?
ava.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
at anywheresoftware.b4a.Msgbox$DialogResponse.onClick(Msgbox.java:118)
at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1050)
at android.widget.AdapterView.performItemClick(AdapterView.java:303)
at android.widget.AbsListView.performItemClick(AbsListView.java:1140)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3022)
at android.widget.AbsListView$3.run(AbsListView.java:3804)
at android.os.Handler.handleCallback(Handler.java:738)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5070)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
Yes, they look the same. Can you post a screenshot just before you select and it crashes?CheesyM said:I tried a couple more times (and sent the reports through), but the stack trace looks the same.
I noticed it crashes as soon as I select any bluetooth device from the dialog (even devices that I'm not connected to / in range of). Similarly, if I press back to close the "Choose device" dialog, it goes into the application, but then when I use "Select ODBII" from the menu, I get the same behaviour (crashes as soon as I select a device).
Let me know if there is any other way I can help.
Turbo3 said:Are you in the testers group for Leaf Spy? I could try putting a Catch/Try around the Pairing Code section of code. That would just cause it to be skipped if it got this failure.
Send me the email address you used to purchase Leaf Spy to [email protected] and I will add you to the testers group.CheesyM said:Turbo3 said:Are you in the testers group for Leaf Spy? I could try putting a Catch/Try around the Pairing Code section of code. That would just cause it to be skipped if it got this failure.
No, I'm not - but happy to help if I can (I'm fairly technical).
Actually the problem has nothing to do with Bluetooth.kevinleaf said:I think the key here is the version of Android. He is using L which I believe is slated to be named Lollipop and 5.0
There might be some big bluetooth difference in there.
Enter your email address to join: