BT Heart rate monitor keeps disconnecting

Started by Luca72, May 11, 2020, 06:04:43 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Luca72

Hallo,
My name is Luca and I am an Italian user. I have been using Oruxmaps on my HTC 601 desire for a long time, with success, for Mountain Biking.

Yesterday I decided to switch (my HTC is getting very old) to my other backup phone (Huawei P20 Lite) and I discovered that my BT Heart rate monitor keeps connecting and disconnecting with message "Bluetooth connection lost! Retrying in 30 seconds.". All other features (GPS, map loading, tracks..) are working as usual.

I know for sure it is not a problem with the device because I tested it on the same phone with other Apps and it works flawlessy. But I made the same test on my other Huawei P30 Lite and I had the same issue, only with Oruxmaps.
It seems there is something going wrong with Huawei devices and BT Smart sensors on Oruxmaps.

My Huawei P20 Lite is updated to Android 9 and EMUI version 9.1. My BT HR Monitor is a Geonaute (Decathlon) device (first model, only BT Smart - no dual). I am using Oruxmapx v. 7.4.22 (but I also tried with v6.5.10 with the same issue).

Thanks in advance.

Regards,
Luca Veronesi

orux

Quote from: Luca72 on May 11, 2020, 06:04:43 PM
Hallo,
My name is Luca and I am an Italian user. I have been using Oruxmaps on my HTC 601 desire for a long time, with success, for Mountain Biking.

Yesterday I decided to switch (my HTC is getting very old) to my other backup phone (Huawei P20 Lite) and I discovered that my BT Heart rate monitor keeps connecting and disconnecting with message "Bluetooth connection lost! Retrying in 30 seconds.". All other features (GPS, map loading, tracks..) are working as usual.

I know for sure it is not a problem with the device because I tested it on the same phone with other Apps and it works flawlessy. But I made the same test on my other Huawei P30 Lite and I had the same issue, only with Oruxmaps.
It seems there is something going wrong with Huawei devices and BT Smart sensors on Oruxmaps.

My Huawei P20 Lite is updated to Android 9 and EMUI version 9.1. My BT HR Monitor is a Geonaute (Decathlon) device (first model, only BT Smart - no dual). I am using Oruxmapx v. 7.4.22 (but I also tried with v6.5.10 with the same issue).

Thanks in advance.

Regards,
Luca Veronesi

Hello!
It should work; I have  a huawei p20, I have tested different BT sensors.

Check that you select the deive in OruxMaps as BT Smart, not as a legacy BT device.


orux

Luca72

Thank you very much for your quick reply.

Unfortunately I already checked my device as BT Smart but I can only use it with Oruxmaps on my old HTC 601 desire.
On both my Huaweis (P30 Lite and P20 Lite) it connects and after some seconds (without display anything) it disconnects.
As I write before I can use it with other Apps on both phones and it shows correct heart rate.

Since it is not a problem with Huawei stack (you can use it on P20) I suspect it could be an unlucky combination between Oruxmaps, Huawei stack and my BT device (which is, to be onest, quite old)
Maybe I will try to buy a new device and see if it works on my P20 lite

Thanks again,
Luca Veronesi

orux

Quote from: Luca72 on May 14, 2020, 06:47:42 PM
Thank you very much for your quick reply.

Unfortunately I already checked my device as BT Smart but I can only use it with Oruxmaps on my old HTC 601 desire.
On both my Huaweis (P30 Lite and P20 Lite) it connects and after some seconds (without display anything) it disconnects.
As I write before I can use it with other Apps on both phones and it shows correct heart rate.

Since it is not a problem with Huawei stack (you can use it on P20) I suspect it could be an unlucky combination between Oruxmaps, Huawei stack and my BT device (which is, to be onest, quite old)
Maybe I will try to buy a new device and see if it works on my P20 lite

Thanks again,
Luca Veronesi

Really strange, because if it works with another app, it should work with OruxMaps.
Check that you select the right MAC adress in OruxMaps.


orux

KingKiKapu

I have the same problem with a BTE Heart Rate Belt (Sigma R1) on Android 10 and the current version of Oruxmaps. Oruxmaps finds it fine. Connects and then immediately disconnects with the 30s retry message. I tested Runtastic and Locusmaps and both work fine with the Belt, but I don't like those apps.

There even is a workaround if you start the HRM in Oruxmaps wait for the disconnect then switch to runtastic and let it read the heart rate for a while, and switch back to Oruxmaps, it works stable for hours of exercise. Unless you switch again to any other app and go back then it looses the connection again.

Oruxmaps must be doing something a little different in the connection compared to locus and runtastic. The workaround works fine for me, but it would be amazing if I would not have to use it. Would gladly help to fix this if I can help. Maybe even try to contact locus developers how or what libraries they use to connect to BLE?

Thanks for an amazing app and your amazing work.

KingKiKapu

So I have been using this workaround for a while now. I found the best (and most lightweight app) to keep the sensor connected in the background is IpSensorMan

Start OruxMaps first, connect to the belt. Then switch over to IpSensorMan start the service and wait for it to track and show your Heartrate. Then switch back to Oruxmaps and you should have a complete and stable connection. Do not start IpSensorman first, at least in my case oruxmaps is unable to connect after.

Just leaving this suggestion here for anyone else who is also struggling with that problem. If it ever gets solved amazing, if not the workaround is very reliable.