Skip to content

Feature Request: Reset cache similarly like on Android with refreshGatt. #1280

@folin03

Description

@folin03

Feature Description

Reset cache similarly like on Android with refreshGatt.

Current Workaround

forget paired device in iOS settings and pair again.

Additional Information

I pair with a device but for fw update I use unpaired connection which works fine to go from paired connection to unpaired but after firmware update I o back to paired connection but iOS reports not having the correct handlerers. Android reports the saem if I don't use refreshGatt 'OnConnected'. Therefore I assume that android and iOS cache the pairing information, Android can refresh the cash using refreshGatt but iOS does not refresh it. iOS allows to downgrade from paired connection to unpaired connection on the same device but does not allow to go from unpaired back to paired. It seem that the handlers of paired connection are owerwritten with unpaired handleres. Gorgetting the paired device in iOS settings and repairing fixes the issue but we do not have a function to re-pair a device withing this package, that may also be helpful.

Suggested Implementation

reset cache on iOS as Android does with refreshGatt.

Additional Information

  • I have searched for existing feature requests.
  • I would like to work on this feature myself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions