How many CBService objects can a CBCharacteristic belong to

How many CBService objects is a CBCharacteristic object allowed to belong to?

A CBCharacteristic is a unique object that belongs to a single CBService object.

If you are conflating a CBCharacteristic object and a Characteristic UUID, indeed there could be multiple characteristics with the same UUID belonging to different services, but as far as CoreBluetooth is concerned, each CBCharacteristic object is unique and separate, even if they have the same UUID under different service UUIDs.

Each CBService can only have a single CBCharacteristic with the same UUID.


Argun Tekant /  DTS Engineer / Core Technologies

How many CBService objects can a CBCharacteristic belong to
 
 
Q