Exemple #1
0
 def __init__(self, bus, index, service):
     Characteristic.__init__(
         self, bus, index,
         self.AUT_IO_DIG_CHRC_UUID,
         ['write', 'notify', 'reliable-write'],
         service)
     self.notifying = False
     self.add_descriptor(CharacteristicUserDescriptionDescriptor(bus, 1, self, "Automation Digital IO"))
     self.hr_ee_count = 0