Reconnecting a peripheral
Reconnecting a peripheral
- Subject: Reconnecting a peripheral
- From: Andrew Coad <email@hidden>
- Date: Sat, 11 Jul 2015 02:34:23 -0400
- Importance: Normal
Searching through this forum and stackoverflow is seems clear that, after disconnecting from a peripheral, you must go through the service(s) & characteristic(s) discovery process again after reconnection before you can interact with a characteristic.
The project that I am working on is a central (iOS device) and controlled peripheral (TI CC2541 device). Communication is predominantly control sequences from the iOS device to the peripheral. Following Apple's guidelines, I should be connecting, transferring data, disconnecting in order to "minimise radio usage."
To avoid the need to re-discover services and characteristics, I could leave the connection open for as long as the iOS application is running. What is the impact of doing so? Will the iOS device's radio be on for the duration and, presumably, draining the battery more quickly? What about the peripheral? Will maintaining an open connection have any adverse impact on battery life of the peripheral?
Regards,
Andrew Coad
|
_______________________________________________
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