def get_service(self, uuid):
        """Lookup information about a given GATT service.

        Args:
            uuid (str): a string containing the hex-encoded service UUID

        Returns:
            None if an error occurs, otherwise a :class:`Service` object.
        """
        if uuid in self.services:
            return self.services[uuid]

        if pp_hex(uuid) in self.services:
            return self.services[pp_hex(uuid)]

        return None
Lookup information about a given GATT service.

        Args:
            uuid (str): a string containing the hex-encoded service UUID

        Returns:
            None if an error occurs, otherwise a :class:`Service` object.