code: def handle_to_uuid(handle, services):
      
  
      for service in services.values():
          for char_uuid, char_def in service['characteristics'].items():
              if char_def['handle'] == handle:
                  return char_uuid
  
      raise ValueError("Handle not found in GATT table")
docs: Find the corresponding UUID for an attribute handle