This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[android]how to disconnect connection gracefully

hi, Nordic I'm using your nRF51-DK(PCA10028) board, on android, i disconnect connection by call BluetoothGatt.disconnect (developer.android.com/.../BluetoothGatt.html, it's work fine on almost android phones, but on some ones (such as xiaomi4LTE ) we can not disconnect connection successfully. so i try again with nRF-Connect (github.com/.../releases), nRF-Connect can disconnect it successfully. so my question is :

  1. how can i disconnect connection gracefully on android phone?
  2. what trick things nRF-Connect do in disconnecting working?

Thanks !!!

Related