Add the arduino code to the BluetoothChatWithArduino app. There is a disconnect bluetooth button to show this function in the example.