Re: Avoiding to discover services and characteristics with iOS7
- Can I save a characteristic and use this property without services and characteristics discovering step ?
No. CBService/Characteristics/Descriptors are only valid within the context of the connection in which they were discovered. You need to go through the same steps and the cache will be used where appropriate. On May 19, 2014, at 3:51 PM, Fred Visticot <fvisticot@gmail.com> wrote:
I know that iOS7 has introduced caching mechanisms in the CoreBluetooth.
1. I reconnect to a previous connected device with the peripheral identifier. 2. Connection is fast (100ms) 3. I need to read a characteristic value
- Is it mandatory to discover services and characteristics before reading a value ? In my case it takes 1.5s to read the value ? - Can I save a characteristic and use this property without services and characteristics discovering step ?
Is the iOS7 caching mechanism « transparent » / « free » meaning that discovering services and characteristics is using cache ? _______________________________________________ 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/conn%40apple.com
This email sent to conn@apple.com
_______________________________________________ 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)
-
Jason Conn