ble restoration question
ble restoration question
- Subject: ble restoration question
- From: Matthew Chung <email@hidden>
- Date: Thu, 03 Dec 2015 19:32:53 -0800
I'm not able to get restoration working as I would like, and if anyone has any suggestions, I would much appreciate it.
and have worked through the restoration steps except I have 2 ios 9 devices, one running a central and one a peripheral . Then I
1. have my central discover the peripheral, caching the peripheral
2. kill the app running the peripheral
3. tell the central to connect to the peripheral
4. kill my central using a SIGKILL button
5. relaunch my peripheral and advertise
6. see my NSLog("wahoo") that is in the willRestoreState delegate callback write to the device log
I'd really like to get this working where the steps are closer to (assuming central and peripheral have talked to each other before)
1. have my central scan for specific services
2. SIGKILL the central
3. relaunch my peripheral and advertise
4. see my NSLog("wahoo") in willRestoreState write to the device log
and according to the stackoverflow posting above, It seems like it should work this way, since he says it works with just scanning. I've spent more time on this than I'd like to admit, so any suggestions are appreciated.
--
_______________________________________________
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