Skip to content

[Bug]: Bluetooth connection management #4444

@TheDomanNow

Description

@TheDomanNow

Contact Details

No response

Checklist

  • I am able to reproduce the bug with the latest version.

  • I have updated to the latest Alpha firmware, and am able to reproduce the bug. Many issues are fixed quickly in alpha before the general beta release.

  • I made sure that there are no existing OPEN or CLOSED issues which I could contribute my information to.

  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.

  • This issue contains only one bug.

  • I have read and understood the Contribution Guidelines.

  • I agree to follow this project's Code of Conduct

  • I actually read this list, and should be taken seriously.

Affected app version

2.7.11

Affected Android version

Android 10, 12

Affected phone model

Samsung S20+, S21+

Affected node model

Heltec V3

Affected node firmware version

2.7.15

Steps to reproduce the bug

  1. Connect to the node via Bluetooth.
  2. Phone looses connection to node (not disconnected).
  3. There you go. App tries very aggressively to connect to the node and...
    a) you can't disconnect form the node that have been "lost via BT", app will drain phone battery very quickly, you can only kill the app to stop it
    b) when the node comes back, in like 80% cases the connection is NOT being restored, it just says "Connecting", the only way to stop it is to kill the app and start again - then it works

Actual behavior

Hi,

bad bluetooth connection management, as described in "Steps to reproduce the bug".

BR, Doman.

Expected behavior

  1. I can disconnect from the node regardless of it being online or offline (lost).
  2. When node is back online (from being lost) it should reconnect succesfully.

Screenshots/Screen recordings

No response

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions