Re: Avoiding to discover services and characteristics with iOS7
Re: Avoiding to discover services and characteristics with iOS7
- Subject: Re: Avoiding to discover services and characteristics with iOS7
- From: Jason Conn <email@hidden>
- Date: Mon, 19 May 2014 15:55:29 -0700
> - 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 <email@hidden> 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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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