Can't connect to peripheral from Background in iOS 8
Can't connect to peripheral from Background in iOS 8
- Subject: Can't connect to peripheral from Background in iOS 8
- From: Saveli Bondini <email@hidden>
- Date: Wed, 24 Sep 2014 10:21:42 +0300
I manage to successfully connect and pair with peripheral when in foreground. But when I try to connect from background, peripheral gets connected and then immediately disconnected with the following errors:
BTServer[67] <Error>: LE pairing failed to device "F90..." with result 1
BTServer[67] <Error>: ATT no characteristic values with UUID 0x2A00 could be read in range [0x0001, 0x0007] on device "F90..."
BTServer[67] <Error>: Aborting command as device "F90..." is no longer connected
It seems strange because peripheral is already paired and nothing like that happens when application in foreground.
This only happens on iOS 8. On iOS 7 the same code works fine both in background and foreground modes.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden