blatann.services.glucose.service module

class blatann.services.glucose.service.GlucoseServer(service, glucose_database, security_level=SecurityLevel.OPEN, include_context_characteristic=True)

Bases: object

set_features(features)

Sets the features for the Glucose Feature characteristic

Parameters

features (GlucoseFeatures) – The supported features of the sensor

classmethod add_to_database(gatts_database, glucose_database, security_level=SecurityLevel.OPEN, include_context_characteristic=True)