Name of connected devices is nil
Name of connected devices is nil
- Subject: Name of connected devices is nil
- From: Nick Brook <email@hidden>
- Date: Wed, 28 May 2014 18:29:22 +0100
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