Service – BLE service

Stores information about a BLE service and its characteristics.

class bleio.Service(uuid, characteristics, *, secondary=False)

Create a new Service object identified by the specified UUID. To mark the service as secondary, pass True as secondary.

  • uuid (bleio.UUID) – The uuid of the service
  • characteristics (iterable) – the Characteristic objects for this service
  • secondary (bool) – If the service is a secondary one

A list of bleio.Characteristic that are offered by this service. (read-only)


The UUID of this service. (read-only)