NordicSemiconductor / IOS-nRF-Toolbox

The nRF Toolbox is a container app that stores your Nordic Semiconductor apps for Bluetooth Low Energy in one location.

Home Page:https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Toolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not disconnecting device in UART

sandhu0409 opened this issue · comments

First time it shows all BLE devices. when I connected with one device and sending data works perfectly. But when I will disconnect and try to reconnect it didn't show in scanning peripheral list even other devices not able to find that ble device.

How about killing the nRF Toolbox app? Or restarting the phone/Bluetooth?
Seems like the device is still connected after you click disconnect, for some reason.

Yeah after restarting bluetooth it works fine. But after reconnect issue remains the same.
May be due to caching issue.

Looks like the app, or some other app, is still using this connection after uart disconnected. Calling cancelConnection() method disconnects only the virtual connection, but if some other is still open, the iOS will keep the physical Bluetooth link open. To be sure that the device disconnects you should implement disconnect feature on your peripheral side, e.g. after sending some op code.

I have disconnected it but still its not working

After I disconnect BLE from Uart app iphone blutooth settings show that peripheral connected.
Same issue arrived on your app store build.

I'm closing the issue as it was related to older version of the app.