Re: Device UUID's
Re: Device UUID's
- Subject: Re: Device UUID's
- From: Darren Jones <email@hidden>
- Date: Thu, 31 Jan 2013 20:02:55 +0000
So a simple check if NULL before doing anything with it will suffice.
And if NULL, then connecting and disconnecting should give a UUID next time.
Sent from my iPhone 5
On 31 Jan 2013, at 19:38, Etan Kissling <email@hidden> wrote:
> Yes, UUID will be NULL and converting it to a string will fail.
>
> On 31.01.2013, at 19:41, Darren Jones <email@hidden>
> wrote:
>
>> Thanks for the replies.
>>
>> I'm not sure I can change the address in the hardware (CC2540) and don't really want to reset all my phones settings.
>> I guess I could reset my sons iPad mini when I can prise it out his hands.
>>
>> On very first discovery, will the UUID just be NULL?
>>
>> On 31 Jan 2013, at 17:04, Etan Kissling <email@hidden> wrote:
>>
>>> Darren,
>>>
>>> Going to settings -> general -> reset -> reset all settings should reset your bluetooth uuid cache. If you do not want to reset all settings, you can also use a different bluetooth adress on your peripheral in order to test peripherals that have not yetbeen connected to the system.
>>>
>>> Etan
>>>
>>> On 31.01.2013, at 17:13, "Darren Jones" <email@hidden> wrote:
>>>
>>>> I've read a while ago about not being able to read a peripherals UUID until you've connected to it at least once.
>>>> Am I right about this, or am I remembering wrong?
>>>>
>>>> I can successfully read my peripherals UUID's while scanning for devices and choose which to connect to or not. I'm just wondering if i'm going to have problems when a new peripheral is thrown in that the phone has never connected to?
>>>>
>>>> To test this, is there a way to reset the phones knowledge of any UUID?
>>>>
>>>> Thanks
>>>>
>>>> Darren
>>>> _______________________________________________
>>>> 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