Meshtastic

Android bluetooth not restarting

I was wondering if anyone has observed something similar:

I have uploaded firmware, and am running the app on 2 phones. Before the modules go to sleep, I can successfully send messages back and forth, see location and change channels.

But, on the older of the phones (running android 5.1.1), after the TTGO goes to sleep, the bluetooth on the phone switches off, and cannot be switched back on!

The meshtastic app asks for permission to restart bluetooth, but it never restarts.

Any assistance appreciated.

TN

1 Like

What is the model of the older phone?

One of the weaknesses of android is a lot of vendors tweak or even make a totally custom implementation of the bluetooth drivers. And especially for the no name Chinese clones (often with pirated Google Play) those drivers are often super buggy. (I used to work for Android)

Here’s an example of what I found recently on a super cheap clone:

It is a Samsung Galaxy Xcover 3 - model number SM-G388F

1 Like

I was able to connect,


but I checked the same problem.

However, I would have liked to have the option to disable radio sleeping for some phones as I have to reboot the phone every time I reconnect.

[What someone knows]

  • This problem is a bug in the phone, so fixing the app won’t solve it.
  1. Forget radio pairing
  2. Reboot a phone
  3. Clear the app cache
  4. Launch an app
  5. Sometimes it doesn’t work well, just try again!

[Test environment 1]

[Test environment 2]Problem

Sorry about that. Yes, you will have this option (and a choice to change other parameters) within the next weekish.

re: test environment 2 screenshot
The message about “you must turn on location services in Android Settings” is super important. Without location access enabled, Android doesn’t allow apps to scan for BLE devices.

1 Like

Thank you for listening to my request🙌
I and @taumarc will be able to do the next test.

Test reported to this topic.

Hi Neklan, that is interesting. I’ll investigate later today (because I now have that same phone): https://github.com/meshtastic/Meshtastic-Android/issues/68

1 Like