Re: CBPeripheral UUID is unique?
Re: CBPeripheral UUID is unique?
- Subject: Re: CBPeripheral UUID is unique?
- From: Louis Gerbarg <email@hidden>
- Date: Tue, 12 Mar 2013 19:39:23 -0400
On Tue, Mar 12, 2013 at 6:53 PM, Flavio Crisciani <email@hidden> wrote:
> Do you know how is it generated this UUID on the Central? it will use for
> sure some peripheral information that remain constant, is it available to be
> picked from the Core Bluetooth?
I actually very much doubt that it uses any info to generate the UUID.
I assume the device stores the necessary if (BD_ADDR and crypto keys)
in a database, and then generates a random UUID to associate with that
data. That is consistent with that fact that UUID is not constant
across devices or erasing device settings.
What we did was republish the BD_ADDR as a characteristic on the
peripheral that we can then read.
Louis
_______________________________________________
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