'Initialize the scanner.'

def __init__(self, config):

    self.host = config[CONF_HOST]
    self.username = config[CONF_USERNAME]
    self.password = config[CONF_PASSWORD]
    self.last_results = {}
    self.token = _get_token(self.host, self.username, self.password)
    self.mac2name = None
    self.success_init = (self.token is not None)
