Re: Background Connection Latency
Re: Background Connection Latency
- Subject: Re: Background Connection Latency
- From: András Kövi <email@hidden>
- Date: Tue, 19 Nov 2013 16:30:21 +0100
I've been testing a very similar setup where the peripheral is sleeping and wakes on a trigger. Then it starts advertising with 20ms interval. The advertisement theoretically wouldn't even be a requirement, only discoverability as the iOS side is hanging on the connectPeripheral call. With this setup the iOS device connects in 4-10 seconds reliably. I haven't had a single case yet when it failed when Core Bluetooth was operational.
I added this info just to confirm that your use case should work and there may be some other issues behind the long connection times.