Connect issue, didDisconnect(Time out) and CoreBluetooth[WARNING]
Hi I am testing Connect and Reconnect issue, using iPhone5 ios6.0.1 and TI CC2540 BLE Kit. I need some help. Here is my program sequences: scan - didDiscover - connect - didConnect - discoverServices - POWER OFF - didDisconnect(Time out) - CoreBluetooth[WARNING] (many times) - POWER ON - didDiscover - CoreBluetooth[WARNING] (many times) When I power off BLE Kit, a timeout error raised, then power on, the peripheral was discovered, but I can't connect it again. the CoreBluetooth[WARNING] show many times in log. I can't catch this exception. Any Suggest? The Log: [LeDiscovery centralManager:didDisconnectPeripheral:error:] [Line 316] Error Domain=CBErrorDomain Code=6 "The connection has timed out unexpectedly." UserInfo=0x1ed7f2b0 {NSLocalizedDescription=The connection has timed out unexpectedly.} CoreBluetooth[WARNING] <CBConcretePeripheral: 0x1f891ec0 UUID = <CFUUID 0x1f892000> F99A1955-E2C2-A81F-6727-CF247135A263, Name = "", IsConnected = NO> is not connected Best Regards. Long LI _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Long LI