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

Cannot get ECG results when measuring stopped #3

Open
sc0ttie opened this issue Mar 26, 2020 · 0 comments
Open

Cannot get ECG results when measuring stopped #3

sc0ttie opened this issue Mar 26, 2020 · 0 comments

Comments

@sc0ttie
Copy link

sc0ttie commented Mar 26, 2020

Describe the bug
I use this SDK with V3E band. I want to trigger onEcgDetectResultChange() to get complete ECG results when measuring stopped. However, the SDK gives me NullPointerException before the callback invoked.

Besides, I test the demo app with version 2.1.26.15 but another error occurred...

To Reproduce
Steps to reproduce the behavior:

  1. start ECG measuring
  2. stop ECG measuring
  3. see error logs below

Expected behavior
The onEcgDetectResultChange() should be invoked when ECG measuring stopped.

Smartphone

  • Device: Asus Zenfone 5
  • OS: Android
  • Version: 19

SDK Version

  • Version: 2.1.24.15

Additional context

03-26 10:28:49.434 23418-23418/com.timaimee.vpdemo I/veepoo-bluetooth: onNotify,operate=ecg_data_app_detect_oprate,value=93,01,01,01,00,00,00,FF,00,00,00,00,01,02,00,00,00,00,00,05,
03-26 10:28:49.444 23418-23418/com.timaimee.vpdemo E/veepoo-bluetooth: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:26)
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:34)
        at com.inuker.bluetooth.library.utils.proxy.ProxyInvocationHandler.handleMessage(ProxyInvocationHandler.java:102)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:149)
        at android.app.ActivityThread.main(ActivityThread.java:5257)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
        at dalvik.system.NativeStart.main(Native Method)
     Caused by: java.lang.NullPointerException
        at com.veepoo.protocol.b.s.C(Unknown Source)
        at com.veepoo.protocol.VPOperateManager.a(Unknown Source)
        at com.veepoo.protocol.VPOperateManager.a(Unknown Source)
        at com.veepoo.protocol.VPOperateManager$1.onNotify(Unknown Source)
        at java.lang.reflect.Method.invokeNative(Native Method) 
        at java.lang.reflect.Method.invoke(Method.java:515) 
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:26) 
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:34) 
        at com.inuker.bluetooth.library.utils.proxy.ProxyInvocationHandler.handleMessage(ProxyInvocationHandler.java:102) 
        at android.os.Handler.dispatchMessage(Handler.java:98) 
        at android.os.Looper.loop(Looper.java:149) 
        at android.app.ActivityThread.main(ActivityThread.java:5257) 
        at java.lang.reflect.Method.invokeNative(Native Method) 
        at java.lang.reflect.Method.invoke(Method.java:515) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609) 
        at dalvik.system.NativeStart.main(Native Method) 
    java.lang.NullPointerException
        at com.veepoo.protocol.b.s.C(Unknown Source)
        at com.veepoo.protocol.VPOperateManager.a(Unknown Source)
        at com.veepoo.protocol.VPOperateManager.a(Unknown Source)
        at com.veepoo.protocol.VPOperateManager$1.onNotify(Unknown Source)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:26)
        at com.inuker.bluetooth.library.utils.proxy.ProxyBulk.safeInvoke(ProxyBulk.java:34)
        at com.inuker.bluetooth.library.utils.proxy.ProxyInvocationHandler.handleMessage(ProxyInvocationHandler.java:102)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:149)
        at android.app.ActivityThread.main(ActivityThread.java:5257)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:515)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
        at dalvik.system.NativeStart.main(Native Method)
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

1 participant