code: def _on_scan_request(self, sequence, topic, message):
          
  
          if messages.ProbeCommand.matches(message):
              self._logger.debug("Received probe message on topic %s, message=%s", topic, message)
              self._loop.add_callback(self._publish_scan_response, message['client'])
          else:
              self._logger.warn("Invalid message received on topic %s, message=%s", topic, message)
docs: Process a request for scanning information
  
          Args:
              sequence (int:) The sequence number of the packet received
              topic (string): The topic this message was received on
              message_type (string): The type of the packet received
              message (dict): The message itself