flutter_reactive_ble icon indicating copy to clipboard operation
flutter_reactive_ble copied to clipboard

Unable to disconnect from a connected device.

Open gourav6m17 opened this issue 3 years ago • 2 comments

Describe the bug Unable to disconnect from a connected device and even status is not updating always show disconnected. When I connect to the device for the first time it shows me the status is disconnected but the device is connected and the data get stream is working properly. And When going to connect again refresh and turn off/on the device and the status is now connected. When I try to disconnect from the device it throws me the error and the status is disconnected(but not disconnect from the device):-

To Reproduce Steps to reproduce the behavior:

  1. Connect to one with connectTo() and even tried with connectToAdvertisingDevice()
  2. Status from the BleDeviceConnector class always disconnected (class from the example code)

Expected behavior After connected with nrf device the status should be connected and disconnect function should work.

Smartphone / tablet

  • Device: Samsung s20 FE / Realme 6
  • OS: Android 12/ Android 11

Peripheral device

  • Vendor, model: nordic nrf
  • Does it run a custom firmware / software: yes
image

gourav6m17 avatar Jun 03 '22 17:06 gourav6m17

Please follow issues template and provide complete reproducing example

Taym95 avatar Jun 13 '22 22:06 Taym95

@Taym95 Please check once the issue is according to the template

gourav6m17 avatar Jun 28 '22 21:06 gourav6m17