Services

bless.backends.service defines the base service types shared across backends.

class bless.backends.service.BlessGATTService(*args: Any, **kwargs: Any)

GATT Service object for Bless

add_characteristic(characteristic: BlessGATTCharacteristic)

Add a characteristic to this service

abstract async init(server: BaseBlessServer)

Initialize the backend specific service object

Parameteres

server: BlessServer

The server to assign the service to