CoreBluetooth (macOS)
The CoreBluetooth backend implements GATT services and advertising using Apple’s CoreBluetooth APIs.
- class bless.backends.corebluetooth.characteristic.BlessGATTCharacteristicCoreBluetooth(*args: Any, **kwargs: Any)
CoreBluetooth implementation of the BlessGATTCharacteristic
- property description: str
Description of this characteristic
- property handle: int
The handle of this characteristic
- async init(service: BlessGATTService)
Initializes the backend-specific characteristic object and stores it in self.obj
- property service_handle: int
The handle of the service this characteristic belongs to
- property service_uuid: str
The UUID of the service this characteristic belongs to
- property subscribed_centrals: Set[str]
Unique list of subscribed central IDs
- property uuid: str
The uuid of this characteristic
- property value: bytearray
Get the value of the characteristic
- class bless.backends.corebluetooth.descriptor.BlessGATTDescriptorCoreBluetooth(*args: Any, **kwargs: Any)
CoreBluetooth implementation of a GATT Descriptor
- async init(characteristic: BlessGATTCharacteristic)
Initializes the backend-specific descriptor object and stores it in self.obj
- property uuid: str
The uuid of this characteristic
- property value: bytearray
Get the value of the descriptor