to connect and disconnect the Android BLE system, with the same “connect” command, connect and disconnect the device, with IOS connect it and just do not disconnect even if you call the command.
To receive the HM-10 it appears to me that it uses the same “characteristic” for both receiving and sending