Re: Name of connected devices is nil
Re: Name of connected devices is nil
- Subject: Re: Name of connected devices is nil
- From: Rick Mann <email@hidden>
- Date: Wed, 28 May 2014 10:49:41 -0700
I thought the GATT Device Name characteristic was special, in that it could be read without being connected. But I've been implementing a peripheral on Linux using BTstack, and have yet to see iOS try to read that.
On May 28, 2014, at 10:29 , Nick Brook <email@hidden> wrote:
> When I retrieve a list of connected devices on CBCentralManager using -retrieveConnectedPeripheralsWithServices: the CBPeripheral objects returned have a nil name property.
>
> I understand that this is probably because the name has not been discovered by advertisement and cannot be read on the GATT database because it isn’t ‘connected’ to the peripheral yet, but I know the system caches the name of devices it has discovered so why does it not provide the cached device name? Is this a bug?
>
> It’s quite inconvenient because I want to display a list of devices a user can ‘connect’ to, and if the peripheral is already connected to the system I can’t display the device name.
>
> Thanks
> Nick
> _______________________________________________
> 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
--
Rick
_______________________________________________
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