• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Peripheral Manager is adding extra CBCharacteristicProperties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Peripheral Manager is adding extra CBCharacteristicProperties


  • Subject: Re: Peripheral Manager is adding extra CBCharacteristicProperties
  • From: Sébastien Martini <email@hidden>
  • Date: Tue, 16 Oct 2012 14:43:21 +0200

I observed this behavior too. The only related documentation I've found is from CBDescriptor.h in CBMutableDescriptor:

The Characteristic Extended Properties and Client Characteristic Configuration descriptors will be created automatically upon publication of the parent service, depending on the properties of the characteristic itself.

Which suggest that some properties are enabled depending on characteristics contents. I think the "characteristic extended properties" bit is also enabled when a writeable characteristic is instanciated. This is maybe set for providing "Reliable Write" of the characteristic value as detailed in Bluetooth 4.0 specs, Vol 3 section 3.3.3.1 (page 1900).

Cordially,
-- seb


On Tue, Oct 16, 2012 at 12:14 AM, <email@hidden> wrote:
Hi,
 
I am doing some more testing with the Peripheral Manager and am having a problem with CBCharacteristic Properties. When I discover the characteristics on my iOS device from another LE device, each characteristic that I enabled the CBCharacteristicPropertyWrite property on has the CBCharacteristicPropertyExtendedProperties property set as well, but I’m not enabling this:

cbBRSPModeCharacteristic = [[CBMutableCharacteristic alloc] initWithType:cbuuidModeChar
properties:(CBCharacteristicPropertyRead|CBCharacteristicPropertyWrite)
value:nil
permissions:(CBAttributePermissionsReadable|CBAttributePermissionsWriteable)];
 
A Characteristic Extended Properties descriptor is also created, which shows the Reliable Write property is enabled.  Is this intended or has anyone else seen this behavior?
 
--Deric

 _______________________________________________
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

References: 
 >Peripheral Manager is adding extra CBCharacteristicProperties (From: email@hidden)

  • Prev by Date: Peripheral Manager is adding extra CBCharacteristicProperties
  • Next by Date: Details of Bluetooth HID support in iOS
  • Previous by thread: Peripheral Manager is adding extra CBCharacteristicProperties
  • Next by thread: Details of Bluetooth HID support in iOS
  • Index(es):
    • Date
    • Thread