I'm playing around with the \v1.9.1\nrf\samples\bluetooth\peripheral_cts_client example on my nRFDK, and trying to implement something similar in my own code. I'm running Zephyr/VSC with the nRF Connect add-in.
What I notice is that once I have connected to my DK, it never seems to let go of the connection, even when I send it a disconnect request from the nRF Connect App (runnign this on my iPhone). The only way I can get it to disconnect is to turn off Bluetooth on my iPhone.
I'm a bit of a novice with the Nordic stuff, so am assuming I'm missing something obvious. But looking at the call back function for disconnection, and comparing this to the same callback function in other BLE examples, where the disconnect request from the App does in fact result in a disconnection, I can't see any differences.
Can anyone help me out here?
Cheers,
Mike