Exemplo n.º 1
0
 def get_hardware_revision(self):
     c = self.get_characteristic_by_uuid([0x27, 0x2a])
     if c:
         return bytearray2str(c.read())
Exemplo n.º 2
0
 def get_manufacturer_name(self):
     c = self.get_characteristic_by_uuid([0x29, 0x2a])
     if c:
         return bytearray2str(c.read())
Exemplo n.º 3
0
 def get_serial_number(self):
     c = self.get_characteristic_by_uuid([0x25, 0x2a])
     if c:
         return bytearray2str(c.read())
Exemplo n.º 4
0
 def get_device_name(self):
     c = self.get_characteristic_by_uuid([0x00, 0x2a])
     return bytearray2str(c.read())