This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2540 BTLE immediately disconnected after connection established on iOS

Other Parts Discussed in Thread: CC2540

We are developing the device to control via Bluetooth Low Energy using CC2540 DK and CC2540.

Recently, we made a prototype of the device and developing iOS, Android application to control it. But when we try to control from iOS, a problem occurs.

From iOS application, signal of the device is discovered and we can connect to the device once, but after connection was established, the device is disconnected immediately.
(after "didConnectPeripheral" was called.)

Error log is like this.

--
Disconnected:Error Domain=CBErrorDomain
Code=6 "The connection has timed out unexpectedly."
UserInfo=0x17026f740 {NSLocalizedDescription=The connection has timed out unexpectedly.}

--

We tried on iPhone5(OS Version 7.1.1), iPad Air(OS Version 7.1.1).
Softwares are LightBlue, a software we developed, and blekeyfobdemo(we modified a little).
The problem occurred on every software and hardware.

We can connect and control the device from Android and USB dongle without problems.

Firmware in CC2540 is based on keyfob demo application of BLEStack 1.2.1.