Unity-Android-Bluetooth-Low-Energy icon indicating copy to clipboard operation
Unity-Android-Bluetooth-Low-Energy copied to clipboard

Can't properly connect or read characteristic from BLE sensor

Open mmar58 opened this issue 1 year ago • 10 comments

Hi, I am was testing this plugin and tried to connect with a BLE sensor. But it's not properly connecting and not reading the characteristic values. I have tested with your temperature characteristic and then tested with Heart rate service UUID and characteristic code, but same result. I have attached the screenshot from device. Screen shot 1 Screen shot 2

Here is the console log Warning log Error log

mmar58 avatar Apr 19 '24 18:04 mmar58

Heya,

Seems like you're trying to connect to a characteristic on a service that isn't on the device (or can't be found). Can you show me the C# code that you're using to read from the characteristic?

Velorexe avatar Apr 23 '24 09:04 Velorexe

Screenshot 2024-05-29 at 23 44 31

I am getting the same error, @Velorexe

farunurisonmez avatar May 29 '24 21:05 farunurisonmez

Hi @mmar58, did you resolve your issue?

paulhayes avatar Sep 25 '24 07:09 paulhayes

No, I have paused using this asset and waiting for the fix to resume work with this asset.

On Wed, Sep 25, 2024, 2:00 PM Paul Hayes @.***> wrote:

Hi @mmar58 https://github.com/mmar58, did you resolve your issue?

— Reply to this email directly, view it on GitHub https://github.com/Velorexe/Unity-Android-Bluetooth-Low-Energy/issues/49#issuecomment-2373343428, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATPXKZIBEUEHR4CS33VJ76LZYJUQBAVCNFSM6AAAAABGPUVDWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGM2DGNBSHA . You are receiving this because you were mentioned.Message ID: @.*** com>

mmar58 avatar Sep 25 '24 08:09 mmar58

Hi @mmar58, as we can't reproduce you bug, we can't provide a fix.

Can you try the latest version of the project, using Unity Package Manager and "Add package from git url". If the problem persists, can you try creating an example project, that reproduces the problem, and then zip it up and post it here.

paulhayes avatar Sep 25 '24 13:09 paulhayes

Hi @paulhayes , thanks for considering about this. I will test the latest project and give you feedback about this and if this problem persist, I will share the demo, so that you can test it too.

mmar58 avatar Sep 25 '24 13:09 mmar58