This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems with nRFDK not disconnecting from iPhone running nRF Connect App

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

Parents
  • Hi Mike,

    I got the same with a iOS device after BLE bonded with the iOS.  Android phone is ok. It looks like a issue with the nRF connect app with iOS.

    The peripherial_uart working ok without bonding. please run the following and see if works at your side.

    1: connect the DK to PC, and run command 'nrfjprog --recover'  in a terminal  // to remove the bonding.

    2: compile example 'peripherial_uart' and flash it to DK.

    3: try to connect with nRF connect app on mobile, and disconnect.  And see if ok to disconnect.

Reply
  • Hi Mike,

    I got the same with a iOS device after BLE bonded with the iOS.  Android phone is ok. It looks like a issue with the nRF connect app with iOS.

    The peripherial_uart working ok without bonding. please run the following and see if works at your side.

    1: connect the DK to PC, and run command 'nrfjprog --recover'  in a terminal  // to remove the bonding.

    2: compile example 'peripherial_uart' and flash it to DK.

    3: try to connect with nRF connect app on mobile, and disconnect.  And see if ok to disconnect.

Children
No Data
Related