Skip to content

BleManager calls internalConnect after bond is removed from Android (BLE Library v2.1.1) #157

Description

@SarthakJ10

Connect a BLE device by setting the autoConnect flag to True and then after the device is bonded successfully, delete the bond from the Android Settings ("forget device"). BleManager then immediately connects to the same device again:
if (wasConnected && mInitialConnection) { internalConnect(gatt.getDevice(), null); }
This prevents users from removing the bond for the device because the BleManager will reconnect and repair to the same BLE device once the bond is lost.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions